-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
129 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,12 @@ | ||
name: Wheel | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- main # NOTE: to remove | ||
push: | ||
branches: | ||
- main # NOTE: to remove | ||
schedule: | ||
# At 09:00 on Monday. (see https://crontab.guru) | ||
- cron: '0 9 * * 1' | ||
|
@@ -17,7 +23,7 @@ jobs: | |
build-wheel: | ||
strategy: | ||
matrix: | ||
os: ['ubuntu-24.04', 'macos-12', 'macos-14'] # TODO: 'windows-2022' | ||
os: ['windows-2022'] # TODO: , 'ubuntu-24.04', 'macos-12', 'macos-14' | ||
arch: ['x86_64', 'aarch64'] | ||
python: ['3.10'] | ||
exclude: | ||
|
@@ -44,6 +50,19 @@ jobs: | |
ref: '4091bc61e315f187829dca877dd908a07ba9cb91' # Latest commit as of 2024-10-17 | ||
path: 'llvm-project' | ||
|
||
- uses: ilammy/[email protected] | ||
if: ${{ matrix.os == 'windows-2022' }} | ||
|
||
- name: Set up Visual Studio shell | ||
if: ${{ matrix.os == 'windows-2022' }} | ||
uses: egor-tensin/vs-shell@v2 | ||
with: | ||
arch: x64 | ||
|
||
- name: MS Build | ||
if: ${{ matrix.os == 'windows-2022' }} | ||
uses: microsoft/[email protected] | ||
|
||
- name: Setup ccache | ||
uses: hendrikmuhs/ccache-action@v1 | ||
with: | ||
|
@@ -85,7 +104,18 @@ jobs: | |
run: | | ||
echo "MACOSX_DEPLOYMENT_TARGET=11.0" | tee -a $GITHUB_ENV | ||
# - name: set env variables - windows | ||
# if: contains(matrix.os, 'windows') | ||
# shell: pwsh | ||
# run: | | ||
# echo "SPARSE_BACKEND=MLIR" >> $env:GITHUB_ENV | ||
|
||
# - name: Setup tmate session | ||
# uses: mxschmitt/action-tmate@v3 | ||
|
||
- name: cibuildwheel run | ||
env: | ||
SPARSE_BACKEND: MLIR | ||
run: | | ||
mv ./Finch-mlir/setup.py . | ||
mv ./Finch-mlir/pyproject.toml . | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters