From aa7b845d9eb14c7d6f4028a818e945787371dee2 Mon Sep 17 00:00:00 2001 From: ruki Date: Fri, 17 Jan 2025 21:45:44 +0800 Subject: [PATCH] Update cosmocc.yml --- .github/workflows/cosmocc.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cosmocc.yml b/.github/workflows/cosmocc.yml index 0670beca86..f70c620827 100644 --- a/.github/workflows/cosmocc.yml +++ b/.github/workflows/cosmocc.yml @@ -42,13 +42,19 @@ jobs: xmake -v cd .. - - name: Prepare + - name: Prepare (Linux) if: matrix.os == 'ubuntu-latest' run: | sudo apt update sudo apt install -y ruby ruby-dev rubygems build-essential llvm libc++-dev 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 - name: Tests run: | @@ -67,5 +73,5 @@ jobs: - name: Artifact uses: actions/upload-artifact@v4 with: - name: xmake-cosmocc + name: xmake-bundle.cosmocc path: core/build/xmake