Skip to content

use run_binary to replace genrule #38

use run_binary to replace genrule

use run_binary to replace genrule #38

Workflow file for this run

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
shell: pwsh
- name: Upload artifact
uses: actions/upload-artifact@main
with:
name: macos_wheel
path: bazel-bin/external/maple2jax/*.whl