Skip to content

Commit

Permalink
Refactor build.yaml workflow: Update platform and acceleration options
Browse files Browse the repository at this point in the history
  • Loading branch information
royshil committed Oct 18, 2024
1 parent 24e2faa commit 69e5466
Showing 1 changed file with 30 additions and 21 deletions.
51 changes: 30 additions & 21 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,30 +13,39 @@ jobs:
matrix:
os: ['windows-latest', 'macos-latest', 'ubuntu-latest']
python-version: ['3.9', '3.10', '3.11', '3.12']
include:
# Windows builds
platform: ['x86_64', 'arm64', 'win64']
acceleration: ['', 'cpu', 'cuda', 'hipblas', 'vulkan']
exclude:
- os: windows-latest
platform: win64
acceleration: cpu
- os: windows-latest
platform: win64
acceleration: cuda
- os: windows-latest
platform: win64
acceleration: hipblas
- os: windows-latest
platform: win64
acceleration: vulkan

# macOS builds
platform: ['arm64', 'x86_64']
- os: macos-latest
platform: x86_64
- os: macos-latest
platform: arm64

# Linux build
platform: ['win64']
- os: ubuntu-latest
platform: x86_64
platform: ['win64', 'arm64']
# include:
# # Windows builds
# - os: windows-latest
# platform: win64
# acceleration: cpu
# - os: windows-latest
# platform: win64
# acceleration: cuda
# - os: windows-latest
# platform: win64
# acceleration: hipblas
# - os: windows-latest
# platform: win64
# acceleration: vulkan

# # macOS builds
# - os: macos-latest
# platform: x86_64
# - os: macos-latest
# platform: arm64

# # Linux build
# - os: ubuntu-latest
# platform: x86_64

runs-on: ${{ matrix.os }}

Expand Down

0 comments on commit 69e5466

Please sign in to comment.