diff --git a/.github/workflows/ci_test.yml b/.github/workflows/ci_test.yml index e8f7025..9b850de 100644 --- a/.github/workflows/ci_test.yml +++ b/.github/workflows/ci_test.yml @@ -18,7 +18,14 @@ jobs: uses: xmake-io/github-action-setup-xmake@v1 with: xmake-version: latest - + + - name: config APE + 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