Skip to content

Merge pull request #39 from borglab/versioning-hacky-fix #62

Merge pull request #39 from borglab/versioning-hacky-fix

Merge pull request #39 from borglab/versioning-hacky-fix #62

Workflow file for this run

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-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