Skip to content

Commit

Permalink
Pre-built packages on ARM
Browse files Browse the repository at this point in the history
  • Loading branch information
nbdd0121 committed Jan 22, 2025
1 parent d7e90e4 commit f43495d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
# We only support MacOS with best-effort basis. They take much longer to build so shouldn't block PR.
SYSTEMS=(x86_64-linux)
else
SYSTEMS=(x86_64-linux x86_64-darwin aarch64-darwin)
SYSTEMS=(x86_64-linux aarch64-linux x86_64-darwin aarch64-darwin)
fi
for SYSTEM in "${SYSTEMS[@]}"; do
Expand Down Expand Up @@ -91,7 +91,7 @@ jobs:
include: ${{fromJSON(needs.check.outputs.matrix)}}
# Disable fail-fast for non-PR builds to ensure all outputs have a chance to be built.
fail-fast: ${{ github.event_name == 'pull_request' }}
runs-on: ${{ matrix.system == 'x86_64-darwin' && 'macos-13' || (matrix.system == 'aarch64-darwin' && 'macos-14' || 'nixos') }}
runs-on: ${{ matrix.system == 'x86_64-darwin' && 'macos-13' || (matrix.system == 'aarch64-darwin' && 'macos-14' || (matrix.system == 'aarch64-linux' && 'ubuntu-24.04-arm' || 'nixos')) }}
steps:
- name: checkout
uses: actions/checkout@v4
Expand Down
3 changes: 2 additions & 1 deletion pkgs/sv-lang.nix
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@ in
license = licenses.mit;
maintainers = with maintainers; [sharzy];
mainProgram = "slang";
broken = stdenv.isDarwin;
# This is also broken on aarch64 where a test assumes `char` is signed.
broken = stdenv.isDarwin || stdenv.isAarch64;
platforms = platforms.all;
};
}

0 comments on commit f43495d

Please sign in to comment.