Skip to content

Commit 7da111a

Browse files
Lower runtime glibc version requirement (#29)
Signed-off-by: Cocoa <[email protected]> Co-authored-by: Jonatan Kłosko <[email protected]>
1 parent 51299a2 commit 7da111a

File tree

1 file changed

+23
-10
lines changed

1 file changed

+23
-10
lines changed

.github/workflows/release.yml

Lines changed: 23 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,31 +7,44 @@ permissions:
77
contents: write
88
jobs:
99
linux:
10-
runs-on: ubuntu-22.04
10+
runs-on: ubuntu-latest
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
13-
ELIXIR_VERSION: "1.15.3"
19+
ELIXIR_VERSION: "1.15.8"
1420
strategy:
1521
matrix:
1622
otp_version: ["25.3"]
1723
name: Linux x86_64 (${{ matrix.otp_version }})
1824
steps:
19-
- uses: actions/checkout@v4
20-
- uses: erlef/setup-beam@v1
21-
with:
22-
otp-version: ${{ matrix.otp_version }}
23-
elixir-version: ${{ env.ELIXIR_VERSION }}
24-
- name: Install system dependencies
25+
- name: Install dependencies
2526
run: |
26-
sudo apt-get update
27-
sudo apt-get install -y build-essential automake autoconf pkg-config bc m4 unzip zip \
27+
apt-get update
28+
apt-get install -y curl \
29+
git \
30+
liblzma-dev \
31+
libncurses5-dev \
32+
libssl-dev \
33+
libtinfo-dev \
34+
zlib1g-dev \
35+
build-essential automake autoconf cmake pkg-config bc m4 unzip zip \
2836
gcc g++ \
2937
gcc-i686-linux-gnu g++-i686-linux-gnu \
3038
gcc-aarch64-linux-gnu g++-aarch64-linux-gnu \
3139
gcc-arm-linux-gnueabihf g++-arm-linux-gnueabihf \
3240
gcc-riscv64-linux-gnu g++-riscv64-linux-gnu \
3341
gcc-powerpc64le-linux-gnu g++-powerpc64le-linux-gnu \
3442
gcc-s390x-linux-gnu g++-s390x-linux-gnu
43+
- uses: actions/checkout@v4
44+
- uses: erlef/setup-beam@v1
45+
with:
46+
otp-version: ${{ matrix.otp_version }}
47+
elixir-version: ${{ env.ELIXIR_VERSION }}
3548
- name: Precompile
3649
run: |
3750
export ELIXIR_MAKE_CACHE_DIR=$(pwd)/cache

0 commit comments

Comments
 (0)