From 965ba548f68ed4bd4fe1090463b6e263fec82e36 Mon Sep 17 00:00:00 2001 From: ruki Date: Fri, 12 Dec 2025 22:38:58 +0800 Subject: fix cosmocc ci --- .github/workflows/cosmocc.yml | 12 +++--------- 1 file 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 -- cgit v1.3.1