[ci] Try to understand weird exprtk bug? #714
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: ossia-python | |
on: push | |
jobs: | |
build-macos: | |
runs-on: macos-14 | |
environment: 'Apple Certificate' | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/latest-mac-toolchain | |
- name: Build | |
run: | | |
cmake -B build -S ${GITHUB_WORKSPACE} -G Ninja \ | |
-DOSSIA_PYTHON_ONLY=1 \ | |
-DOSSIA_CI=1 \ | |
-DCMAKE_OSX_ARCHITECTURES="x86_64;arm64" | |
cmake --build build | |
- uses: ./.github/actions/mac-codesign | |
with: | |
path-to-sign: "build" | |
output-name: "ossia-python.zip" | |
MAC_CERT_B64: ${{ secrets.MAC_CERT_B64 }} | |
MAC_CERT_PASSWORD: ${{ secrets.MAC_CERT_PASSWORD }} | |
MAC_ALTOOL_PASSWORD: ${{ secrets.MAC_ALTOOL_PASSWORD }} | |
- name: Build Wheel | |
shell: bash | |
run: | | |
cmake --build build --target install | |
python3 -m twine upload -u ${PYPIUSER} -p ${PYPIWORD} build/src/ossia-python/dist/pyossia*.whl || true | |
build-linux: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/latest-ubuntu-toolchain | |
- name: Build ossia-python | |
run: | | |
cmake -B build -S ${GITHUB_WORKSPACE} -G Ninja -DOSSIA_PYTHON_ONLY=1 -DOSSIA_CI=1 | |
cmake --build build | |
cmake --build build --target install | |
# - name: Build Wheel | |
# run: ./ci/build-wheels.sh | |
# - name: Archive Package | |
# uses: actions/upload-artifact@v2 | |
# with: | |
# name: ossia-pd | |
# path: install/ossia-pd-package/ossia |