Merge pull request #41 from borglab/build-macos-13 #63
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: Mac Wheels | |
on: | |
push: | |
branches: | |
- master | |
- cayley | |
pull_request: | |
types: [ assigned, opened, synchronize, reopened ] | |
repository_dispatch: | |
types: [pybind-wrapper] | |
# Every time you make a push to your PR, it immediately cancels the previous checks, | |
# and start a new one. The other runner will be available more quickly to your PR. | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
cancel-in-progress: true | |
env: | |
# The release tag to pull for building the wheels | |
GTSAM_RELEASE_TAG: 4.2.0 | |
BOOST_VERSION: 1.73.0 | |
jobs: | |
mac-build: | |
name: Wrapper macOS Build | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: ["macos-13", "macos-12", "macos-11"] | |
pyversion: ["[email protected]", "[email protected]", "[email protected]", "[email protected]"] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@master | |
- name: Install Boost | |
run: | | |
chmod +x ./install_boost.sh | |
./install_boost.sh | |
- name: Build the macOS wheels | |
run: | | |
./build-macos-wheels.sh ${{ matrix.pyversion }} | |
- name: Archive wheels | |
uses: actions/upload-artifact@v3 | |
with: | |
name: wheels-macos-${{ matrix.pyversion }}-${{ matrix.os }} | |
path: ./wheelhouse |