Skip to content

Commit 1ea848c

Browse files
committed
Fix remaining CI test failures on Linux
1 parent 651aca0 commit 1ea848c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/tests.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,10 @@ jobs:
110110
runs-on: ${{ matrix.target.runner }}
111111
container:
112112
image: ghcr.io/inko-lang/ci:fedora
113+
env:
114+
# This is needed because when setting an explicit target, "ring" looks for
115+
# `aarch64-linux-musl-gcc` instead of using `musl-gcc`.
116+
CC_aarch64_unknown_linux_musl: musl-gcc
113117
steps:
114118
- uses: actions/checkout@v4
115119
- uses: actions/cache@v4
@@ -121,7 +125,7 @@ jobs:
121125
- name: Build the compiler
122126
run: INKO_RT="${PWD}/target/${{ matrix.target.triple }}/debug" cargo build -p inko
123127
- name: Run the tests
124-
run: 'cd std && ../target/${{ matrix.target.triple }}/debug/inko test --opt=${{ matrix.level }} --target=${{ matrix.name }}'
128+
run: 'cd std && ../target/debug/inko test --opt=${{ matrix.level }} --target=${{ matrix.target.name }}'
125129

126130
compiler-mac:
127131
strategy:

0 commit comments

Comments
 (0)