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 8, 2024
1 parent 774d3e8 commit 42942b4
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 @@ -109,7 +109,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 42942b4

Please sign in to comment.