Skip to content

Commit be1f025

Browse files
Lower the runtime glibc version requirement (#16)
1 parent 0191336 commit be1f025

1 file changed

Lines changed: 13 additions & 6 deletions

File tree

.github/workflows/release.yml

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,13 @@ permissions:
88
jobs:
99
linux:
1010
runs-on: ubuntu-22.04
11+
container: ubuntu:20.04
1112
env:
13+
ImageOS: ubuntu20
14+
LANG: en_US.UTF-8
15+
LANGUAGE: en_US:en
16+
LC_ALL: en_US.UTF-8
17+
DEBIAN_FRONTEND: noninteractive
1218
MIX_ENV: prod
1319
ELIXIR_VERSION: "1.15.3"
1420
strategy:
@@ -17,21 +23,22 @@ jobs:
1723
name: Linux x86_64 (${{ matrix.otp_version }})
1824
steps:
1925
- uses: actions/checkout@v4
20-
- uses: erlef/setup-beam@v1
21-
with:
22-
otp-version: ${{ matrix.otp_version }}
23-
elixir-version: ${{ env.ELIXIR_VERSION }}
2426
- name: Install system dependencies
2527
run: |
26-
sudo apt-get update
27-
sudo apt-get install -y build-essential automake autoconf pkg-config bc m4 unzip zip \
28+
apt-get update
29+
apt-get install -y curl git cmake \
30+
build-essential automake autoconf cmake pkg-config bc m4 unzip zip \
2831
gcc g++ \
2932
gcc-i686-linux-gnu g++-i686-linux-gnu \
3033
gcc-aarch64-linux-gnu g++-aarch64-linux-gnu \
3134
gcc-arm-linux-gnueabihf g++-arm-linux-gnueabihf \
3235
gcc-riscv64-linux-gnu g++-riscv64-linux-gnu \
3336
gcc-powerpc64le-linux-gnu g++-powerpc64le-linux-gnu \
3437
gcc-s390x-linux-gnu g++-s390x-linux-gnu
38+
- uses: erlef/setup-beam@v1
39+
with:
40+
otp-version: ${{ matrix.otp_version }}
41+
elixir-version: ${{ env.ELIXIR_VERSION }}
3542
- name: Precompile
3643
run: |
3744
export ELIXIR_MAKE_CACHE_DIR=$(pwd)/cache

0 commit comments

Comments
 (0)