summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2025-12-12 22:38:58 +0800
committerruki <[email protected]>2025-12-15 07:00:20 +0800
commit965ba548f68ed4bd4fe1090463b6e263fec82e36 (patch)
tree5ac18d3c70f40e4bf4f39be486c67921e1f292e6
parent777fdde191dc443aba4b987c07247446e10bb5d9 (diff)
fix cosmocc ci
-rw-r--r--.github/workflows/cosmocc.yml12
1 files changed, 3 insertions, 9 deletions
diff --git a/.github/workflows/cosmocc.yml b/.github/workflows/cosmocc.yml
index 924a2210c..fd4f1bb5d 100644
--- a/.github/workflows/cosmocc.yml
+++ b/.github/workflows/cosmocc.yml
@@ -55,8 +55,6 @@ jobs:
RUN_PROBABILITY: ${{ vars.COSMOCC_RUN_PROBABILITY || '0.5' }}
build:
- needs: check
- if: needs.check.outputs.should-run == 'true'
strategy:
matrix:
os: [ubuntu-latest, macos-15-intel]
@@ -102,15 +100,9 @@ jobs:
sudo apt install -y libgl1-mesa-dev libglu1-mesa-dev
clang --version
- - name: Prepare (macOS)
- if: matrix.os == 'macos-13'
- run: |
- brew install dmd
- brew install dub
-
# In the tests, cmake tries to use make from the cosmopolitan toolchain and fails, so uninstall it
- name: Remove cosmocc
- if: matrix.os == 'macos-13'
+ if: startsWith(matrix.os, 'macos')
run: |
INSTALL_DIR="${{runner.temp}}/cosmocc-4.0.2"
echo "Removing cosmocc from PATH"
@@ -120,6 +112,8 @@ jobs:
- name: Tests
run: |
ls -l core/build/
+ cmake --version
+ c++ version
core/build/xmake --version
core/build/xmake lua -v -D tests/run.lua