From 581225211f44af1e8f7404a377124b38d3621ab8 Mon Sep 17 00:00:00 2001 From: Robby Date: Fri, 24 Jan 2025 10:36:55 -0600 Subject: [PATCH] Added APE binfmt setup in CI.yml. --- .github/workflows/CI.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index bbebc70a..07605356 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -32,6 +32,12 @@ jobs: with: path: cache/coursier key: ${{ runner.os }}-${{ hashFiles('versions.properties') }}-coursier + - name: Setup APE binfmt + 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" || true + sudo sh -c "echo ':APE-jart:M::jartsr::/usr/bin/ape:' >/proc/sys/fs/binfmt_misc/register" || true - name: Test run: | export COURSIER_CACHE=$GITHUB_WORKSPACE/cache/coursier