Skip to content

Commit 9dd4165

Browse files
committed
ci: fix BEAM setup on Windows runner; disable fail-fast
windows-latest now reports ImageOS=win25-vs2026, which erlef/setup-beam doesn't recognize (same class of runner-image drift as the arm64 leg). Add a Windows-specific setup-beam step with env ImageOS=win25. Also set fail-fast: false so each platform reports its real result instead of siblings being cancelled when one leg fails.
1 parent 48219de commit 9dd4165

1 file changed

Lines changed: 14 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ jobs:
3333

3434
test:
3535
strategy:
36+
fail-fast: false
3637
matrix:
3738
include:
3839
- os: ubuntu-latest
@@ -56,9 +57,9 @@ jobs:
5657
- name: Run Zig tests
5758
run: zig build test
5859

59-
# GitHub's hosted ubuntu-24.04-arm runner reports ImageOS=ubuntu24-arm64,
60-
# which setup-beam doesn't recognize. Override it to ubuntu24 so the action
61-
# can locate the arm64 OTP/Elixir builds (architecture is detected separately).
60+
# Some hosted runners report ImageOS strings that setup-beam doesn't
61+
# recognize (e.g. ubuntu24-arm64, win25-vs2026). Override ImageOS to a value
62+
# the action knows; the architecture is detected separately from the runner.
6263
- name: Set up Erlang/Elixir (ARM)
6364
if: matrix.os == 'ubuntu-24.04-arm'
6465
uses: erlef/setup-beam@v1
@@ -68,8 +69,17 @@ jobs:
6869
otp-version: "27"
6970
elixir-version: "1.17"
7071

72+
- name: Set up Erlang/Elixir (Windows)
73+
if: matrix.os == 'windows-latest'
74+
uses: erlef/setup-beam@v1
75+
env:
76+
ImageOS: win25
77+
with:
78+
otp-version: "27"
79+
elixir-version: "1.17"
80+
7181
- name: Set up Erlang/Elixir
72-
if: matrix.os != 'ubuntu-24.04-arm'
82+
if: matrix.os != 'ubuntu-24.04-arm' && matrix.os != 'windows-latest'
7383
uses: erlef/setup-beam@v1
7484
with:
7585
otp-version: "27"

0 commit comments

Comments
 (0)