Skip to content

Commit 7760bb0

Browse files
committed
Bump minimum OTP version to 26, Elixir to 1.17
Simplify tests and remove support for opcodes that are not emitted by OTP26+, significantly reducing the virtual machine size. Update build-and-test.yaml workflow matrix with 41 jobs: - every compiler - latest three OTP versions with default compiler versions - two previous Elixir versions (1.17 and 1.18) with compatible OTP versions among the last three - arm64 with and without JIT - armv6m with and without JIT - riscv32 with and without JIT - i386 - s390x - x86-64 with JIT - stacktraces disabled - OTP master and Elixir main - -Os optimization on x86-64 Signed-off-by: Paul Guyot <[email protected]>
1 parent abcd02c commit 7760bb0

23 files changed

+492
-1852
lines changed

.github/workflows/build-and-test-macos.yaml

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
fail-fast: false
4040
matrix:
4141
os: ["macos-14", "macos-15", "macos-15-intel", "macos-26"]
42-
otp: ["24", "25", "26", "27", "28"]
42+
otp: ["26", "27", "28"]
4343
mbedtls: ["mbedtls@3"]
4444
cmake_opts_other: [""]
4545

@@ -67,22 +67,8 @@ jobs:
6767
submodules: 'recursive'
6868

6969
- name: "Install deps"
70-
if: matrix.otp != '24' && matrix.otp != '25'
7170
run: brew update && HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=1 brew install gperf doxygen erlang@${{ matrix.otp }} gleam ${{ matrix.mbedtls }} rebar3
7271

73-
- name: "Install deps"
74-
if: matrix.otp == '24' || matrix.otp == '25'
75-
run: |
76-
brew update
77-
HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=1 brew install gperf doxygen erlang@${{ matrix.otp }} gleam ${{ matrix.mbedtls }}
78-
wget https://github.com/erlang/rebar3/releases/download/3.23.0/rebar3
79-
chmod +x rebar3
80-
for bin_dir in {/usr/local,/opt/homebrew}/opt/erlang@{24,25}/bin/ ; do
81-
if [ -e ${bin_dir} ]; then
82-
sudo cp rebar3 ${bin_dir}
83-
fi
84-
done
85-
8672
- name: "Workaround for nxdomain random issues"
8773
run: |
8874
# https://github.com/actions/runner-images/issues/8649#issuecomment-2231240347

0 commit comments

Comments
 (0)