Run build_linux in docker using an older glibc (#599)

This commit is contained in:
Michael Telatynski 2023-03-30 14:22:58 +01:00 committed by GitHub
parent a9cffb8ce5
commit 718d5a8037
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,6 +19,11 @@ on:
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
container:
image: ghcr.io/vector-im/element-desktop-dockerbuild:t3chguy-dockerbuild
defaults:
run:
shell: bash
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
@ -34,20 +39,12 @@ jobs:
path: | path: |
./.hak ./.hak
- name: Install Rust
if: steps.cache.outputs.cache-hit != 'true'
uses: actions-rs/toolchain@v1
with:
default: true
toolchain: stable
- name: Install libsqlcipher-dev
if: steps.cache.outputs.cache-hit != 'true' && inputs.sqlcipher == 'system'
run: sudo apt-get install -y libsqlcipher-dev
- uses: actions/setup-node@v3 - uses: actions/setup-node@v3
with: with:
cache: "yarn" cache: "yarn"
env:
# Workaround for https://github.com/actions/setup-node/issues/317
FORCE_COLOR: 0
# Does not need branch matching as only analyses this layer # Does not need branch matching as only analyses this layer
- name: Install Deps - name: Install Deps
@ -81,7 +78,7 @@ jobs:
- name: Build App - name: Build App
run: | run: |
scripts/generate-builder-config.ts \ npx ts-node scripts/generate-builder-config.ts \
${{ steps.nightly.outputs.config-args }} \ ${{ steps.nightly.outputs.config-args }} \
${{ steps.debian.outputs.config-args }} \ ${{ steps.debian.outputs.config-args }} \
--deb-custom-control=debcontrol --deb-custom-control=debcontrol