summaryrefslogtreecommitdiff
path: root/.github/workflows/build-ape.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/build-ape.yml')
-rw-r--r--.github/workflows/build-ape.yml59
1 files changed, 0 insertions, 59 deletions
diff --git a/.github/workflows/build-ape.yml b/.github/workflows/build-ape.yml
deleted file mode 100644
index ded68fe..0000000
--- a/.github/workflows/build-ape.yml
+++ /dev/null
@@ -1,59 +0,0 @@
-name: APE Portable Build
-
-on:
- push:
- branches: [ "main" ]
- tags: [ "v*" ]
- pull_request:
- branches: [ "main" ]
- workflow_dispatch:
-
-jobs:
- build-ape:
- runs-on: ubuntu-latest
- permissions:
- contents: write
- steps:
- - uses: actions/checkout@v4
-
- - name: Install dependencies
- run: |
- sudo apt-get update
- sudo apt-get install -y zip wget
-
- - name: Setup cosmocc
- run: |
- wget https://cosmo.zip/pub/cosmocc/cosmocc.zip
- mkdir -p $HOME/cosmocc
- unzip cosmocc.zip -d $HOME/cosmocc
- echo "$HOME/cosmocc/bin" >> $GITHUB_PATH
-
- - name: Build APE
- run: |
- # Ensure PATH is updated and build with tag-aware versioning
- export PATH="$HOME/cosmocc/bin:$PATH"
- make clean
- make ape
-
- - name: Upload zc.com Artifact
- uses: actions/upload-artifact@v4
- with:
- name: zc-portable
- path: out/bin/zc.com
-
- - name: Upload zc-boot.com Artifact
- uses: actions/upload-artifact@v4
- with:
- name: zc-boot-portable
- path: out/bin/zc-boot.com
-
- - name: Create Release
- if: startsWith(github.ref, 'refs/tags/v')
- uses: softprops/action-gh-release@v2
- with:
- files: |
- out/bin/zc.com
- out/bin/zc-boot.com
- draft: false
- prerelease: false
- generate_release_notes: true