summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2025-01-17 21:45:44 +0800
committerGitHub <[email protected]>2025-01-17 21:45:44 +0800
commitaa7b845d9eb14c7d6f4028a818e945787371dee2 (patch)
tree6599a2bd9cb53e73855f66b75a103029712318a4
parentb9402fbb7eee720e1401767a1189cf0c13cfa8f5 (diff)
Update cosmocc.yml
-rw-r--r--.github/workflows/cosmocc.yml10
1 files changed, 8 insertions, 2 deletions
diff --git a/.github/workflows/cosmocc.yml b/.github/workflows/cosmocc.yml
index 0670beca8..f70c62082 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