Update gen_py.py #32
Workflow file for this run
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
name: Release for Windows | |
# Don't run yet, it fails at linking, very difficult to debug with only a remote runner. | |
on: [push] | |
jobs: | |
release: | |
runs-on: windows-2019 | |
strategy: | |
matrix: | |
python-version: ['3.9'] | |
steps: | |
- name: Cancel previous run | |
uses: styfle/cancel-workflow-action@0.9.1 | |
with: | |
access_token: ${{ github.token }} | |
- uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Build | |
run: | | |
pip install -r requirements.txt | |
bazel build --config=windows_x86_64 --remote_cache=http://${{ secrets.BAZEL_CACHE }}:8080 @maple2jax//:jax_xc_wheel | |
- name: Upload artifact | |
uses: actions/upload-artifact@main | |
with: | |
name: macos_wheel | |
path: bazel-bin/external/maple2jax/*.whl |