File tree Expand file tree Collapse file tree 2 files changed +17
-5
lines changed Expand file tree Collapse file tree 2 files changed +17
-5
lines changed Original file line number Diff line number Diff line change @@ -283,8 +283,14 @@ jobs:
283
283
- name : Architecture test
284
284
env :
285
285
CC : ${{ steps.install_cc.outputs.cc }}
286
- LATEST_RELEASE : dummy
287
286
run : |
287
+ . .ci/common.sh
288
+ export LATEST_RELEASE=$(download_with_headers "https://api.github.com/repos/sysprog21/rv32emu-prebuilt/releases" \
289
+ "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
290
+ | grep '"tag_name"' \
291
+ | grep "sail" \
292
+ | head -n 1 \
293
+ | sed -E 's/.*"tag_name": "([^"]+)".*/\1/')
288
294
.ci/riscv-tests.sh
289
295
if : ${{ always() }}
290
296
@@ -342,7 +348,8 @@ jobs:
342
348
- uses : actions/checkout@v4
343
349
- name : install-dependencies
344
350
run : |
345
- brew install make dtc expect sdl2 sdl2_mixer bc e2fsprogs p7zip llvm@18 dcfldd
351
+ brew install make dtc expect sdl2 bc e2fsprogs p7zip llvm@18 dcfldd
352
+ brew install sdl2_mixer || echo "Warning: sdl2_mixer installation failed, continuing without SDL_MIXER support"
346
353
.ci/riscv-toolchain-install.sh
347
354
echo "${{ github.workspace }}/toolchain/bin" >> $GITHUB_PATH
348
355
echo "$(brew --prefix llvm@18)/bin" >> $GITHUB_PATH
@@ -489,8 +496,14 @@ jobs:
489
496
- name : Architecture test
490
497
env :
491
498
CC : ${{ steps.install_cc.outputs.cc }}
492
- LATEST_RELEASE : dummy
493
499
run : |
500
+ . .ci/common.sh
501
+ export LATEST_RELEASE=$(download_with_headers "https://api.github.com/repos/sysprog21/rv32emu-prebuilt/releases" \
502
+ "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
503
+ | grep '"tag_name"' \
504
+ | grep "sail" \
505
+ | head -n 1 \
506
+ | sed -E 's/.*"tag_name": "([^"]+)".*/\1/')
494
507
python3 -m venv venv
495
508
. venv/bin/activate
496
509
.ci/riscv-tests.sh
Original file line number Diff line number Diff line change @@ -188,8 +188,7 @@ $(warning No sdl2-config in $$PATH. Check SDL2 installation in advance)
188
188
override ENABLE_SDL := 0
189
189
endif
190
190
ifeq (1, $(shell pkg-config --exists SDL2_mixer; echo $$? ) )
191
- $(warning No SDL2_mixer lib installed. Check SDL2_mixer installation in advance)
192
- override ENABLE_SDL := 0
191
+ $(warning No SDL2_mixer lib installed. SDL2_mixer support will be disabled)
193
192
override ENABLE_SDL_MIXER := 0
194
193
endif
195
194
endif
You can’t perform that action at this time.
0 commit comments