Skip to content

Commit

Permalink
CI: build x86_64 only when pull_request to reduce build time
Browse files Browse the repository at this point in the history
  • Loading branch information
wkpark committed Feb 14, 2024
1 parent 77f38ef commit 85f72bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ jobs:

matrix:
os: [ubuntu-latest, windows-latest]
arch: [x86_64, aarch64]
arch: ${{ startsWith(github.ref, 'refs/tags') && fromJson('["x86_64","aarch64"]') || fromJson('["x86_64"]') }}
cuda-version: ${{ startsWith(github.ref, 'refs/tags') && fromJson('["11.8.0","12.1.1"]') || fromJson('["12.1.1"]') }}
build_type: [Release]
exclude:
Expand Down

0 comments on commit 85f72bf

Please sign in to comment.