Skip to content

Commit 45ea90d

Browse files
committed
Run CI on macOS with OTP 23-25
Show the support for all opcodes we need to tests Signed-off-by: Paul Guyot <[email protected]>
1 parent 72a2ccd commit 45ea90d

File tree

3 files changed

+11
-7
lines changed

3 files changed

+11
-7
lines changed

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

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,11 @@ on: [push, pull_request]
1010

1111
jobs:
1212
build-and-test:
13-
runs-on: "macos-11"
13+
runs-on: ${{ matrix.os }}
14+
strategy:
15+
matrix:
16+
os: ["macos-11"]
17+
otp: ["23", "24", "25"]
1418

1519
steps:
1620
# Setup
@@ -20,7 +24,7 @@ jobs:
2024
submodules: 'recursive'
2125

2226
- name: "Install deps"
23-
run: brew install gperf doxygen erlang@21 ninja
27+
run: brew install gperf doxygen erlang@${{ matrix.otp }} ninja
2428

2529
# Builder info
2630
- name: "System info"
@@ -40,13 +44,13 @@ jobs:
4044
- name: "Build: run cmake"
4145
working-directory: build
4246
run: |
43-
export PATH="/usr/local/opt/erlang@21/bin:$PATH"
47+
export PATH="/usr/local/opt/erlang@${{ matrix.otp }}/bin:$PATH"
4448
cmake -G Ninja -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl ..
4549
4650
- name: "Build: run ninja"
4751
working-directory: build
4852
run: |
49-
export PATH="/usr/local/opt/erlang@21/bin:$PATH"
53+
export PATH="/usr/local/opt/erlang@${{ matrix.otp }}/bin:$PATH"
5054
ninja
5155
5256
# Test

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ name: Build and Test on Other Architectures
99
on: [push, pull_request]
1010

1111
env:
12-
otp_version: 21
13-
elixir_version: 1.9
12+
otp_version: 24
13+
elixir_version: 1.14
1414

1515
jobs:
1616
build-and-test-other:

src/libAtomVM/defaultatoms.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ static const char *const machine_atom = "\x7" "machine";
104104
static const char *const avm_floatsize_atom = "\xD" "avm_floatsize";
105105

106106
static const char *const append_atom = "\x6" "append";
107-
static const char *const private_append_atom = "\xD" "private_append";
107+
static const char *const private_append_atom = "\xE" "private_append";
108108
static const char *const binary_atom = "\x6" "binary";
109109
static const char *const integer_atom = "\x7" "integer";
110110
static const char *const little_atom = "\x6" "little";

0 commit comments

Comments
 (0)