pass std=c++14 for macos #54
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/[email protected] | |
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 |