From c76f84a555a104a8d638b16a08628fcd5e0553dd Mon Sep 17 00:00:00 2001 From: PumpkinXD <1042588515@qq.com> Date: Sun, 24 Mar 2024 01:30:28 +0800 Subject: [PATCH] ape loader --- .github/workflows/ci_test.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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