summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorruki <[email protected]>2025-01-17 21:43:10 +0800
committerGitHub <[email protected]>2025-01-17 21:43:10 +0800
commitb9402fbb7eee720e1401767a1189cf0c13cfa8f5 (patch)
tree9e8722195b9468d03a13553a039d4e9138a1fac1 /.github/workflows
parenta4934a2c00d9ae14b4e32c163b8d87f99a81fb78 (diff)
Delete .github/workflows/cosmocc_macos.yml
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/cosmocc_macos.yml66
1 files changed, 0 insertions, 66 deletions
diff --git a/.github/workflows/cosmocc_macos.yml b/.github/workflows/cosmocc_macos.yml
deleted file mode 100644
index fc2ad11b2..000000000
--- a/.github/workflows/cosmocc_macos.yml
+++ /dev/null
@@ -1,66 +0,0 @@
-name: Cosmocc (macOS)
-
-on:
- pull_request:
- push:
- release:
- types: [published]
-jobs:
- build:
- strategy:
- matrix:
- os: [macos-13]
- arch: [x86_64]
-
- runs-on: ${{ matrix.os }}
-
- concurrency:
- group: ${{ github.ref }}-${{ github.base_ref }}-${{ github.head_ref }}-Cosmocc-macOS-${{ matrix.arch }}
- cancel-in-progress: true
- steps:
- - uses: actions/checkout@v2
- with:
- submodules: true
-
- - name: Prepare local xmake
- run: cp -rf . ../xmake-source
-
- - uses: xmake-io/github-action-setup-xmake@v1
- with:
- xmake-version: local#../xmake-source
-
- - uses: bjia56/setup-cosmocc@main
- with:
- version: "4.0.2"
-
- - name: Installation
- run: |
- brew install dmd
- brew install dub
-
- - name: Build
- run: |
- cd core
- xmake f -p linux --cosmocc=y --embed=y -y -cvD
- xmake -v
- cd ..
-
- # In the tests, cmake tries to use make from the cosmopolitan toolchain and fails, so uninstall it
- - name: Remove cosmocc
- run: |
- INSTALL_DIR="${{runner.temp}}/cosmocc-4.0.2"
- echo "Removing cosmocc from PATH"
- echo "::remove-path::${INSTALL_DIR}/bin"
- rm -r "${INSTALL_DIR}"
-
- - name: Tests
- run: |
- ls -l core/build/
- core/build/xmake --version
- core/build/xmake lua -v -D tests/run.lua
-
- - name: Artifact
- uses: actions/upload-artifact@v4
- with:
- name: xmake-cosmocc
- path: core/build/xmake