Skip to content

Commit

Permalink
Added APE binfmt setup in CI.yml.
Browse files Browse the repository at this point in the history
  • Loading branch information
robby-phd committed Jan 24, 2025
1 parent 719f680 commit 5812252
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5812252

Please sign in to comment.