Skip to content

Commit

Permalink
ci: add aarch64-linux runner
Browse files Browse the repository at this point in the history
  • Loading branch information
natsukium committed Jan 17, 2025
1 parent 542f6a7 commit 6c8d3b5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,13 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-14]
os: [ubuntu-latest, ubuntu-24.04-arm, macos-14]
steps:
- uses: actions/checkout@v4
- name: Workaround to fix environment variables in aarch64-linux
# https://github.com/orgs/community/discussions/148648#discussioncomment-11867019
if: matrix.os == 'ubuntu-24.04-arm'
run: for var in PATH XDG_CONFIG_HOME; do sed -Ee "s/^/${var}=/" -e 's/(runner)admin/\1/g' <<< "${!var}"; done | tee -a "$GITHUB_ENV"
- uses: cachix/install-nix-action@v30
- name: Setup cachix
uses: cachix/cachix-action@v15
Expand Down

0 comments on commit 6c8d3b5

Please sign in to comment.