Skip to content

Commit

Permalink
ci
Browse files Browse the repository at this point in the history
  • Loading branch information
PumpkinXD committed Mar 23, 2024
1 parent c76f84a commit 39f47f8
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/ci_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,25 +18,27 @@ jobs:
uses: xmake-io/github-action-setup-xmake@v1
with:
xmake-version: latest
- name: config APE

- name: Setup APE loader
run: |
sudo wget -O /usr/bin/ape https://cosmo.zip/pub/cosmos/bin/ape-$(uname -m).elf
sudo chmod +x /usr/bin/ape
sudo sh -c "echo ':APE:M::MZqFpD::/usr/bin/ape:' >/proc/sys/fs/binfmt_misc/register"
sudo sh -c "echo ':APE-jart:M::jartsr::/usr/bin/ape:' >/proc/sys/fs/binfmt_misc/register"
- name: Build with xmake
run: xmake -yvD

- name: Runs on ubuntu-latest
run: xmake run
run: |
export SHELL="/GH_ACTION_SH"
xmake -yvD
- name: Upload Build Artifacts
uses: actions/upload-artifact@v4
with:
name: Artifact_Files
path: build/linux/x86_64

- name: Runs on ubuntu-latest
run: xmake run
# - name: Upload Build Artifacts to GitHub Release
# uses: svenstaro/[email protected]
# with:
Expand Down

0 comments on commit 39f47f8

Please sign in to comment.