CONDA: Various fixes to allow packaging of python bindings. #3793
Workflow file for this run
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: macos | |
on: | |
pull_request: | |
branches: | |
- develop | |
- master | |
push: | |
branches: | |
- develop | |
- master | |
jobs: | |
build: | |
env: | |
VCPKG_BINARY_SOURCES: 'clear;nuget,GitHub,readwrite' | |
strategy: | |
fail-fast: false | |
matrix: | |
os: | |
- macos-11 | |
runs-on: ${{matrix.os}} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
submodules: true | |
- name: Add C++ Problem Matcher | |
uses: ammaraskar/[email protected] | |
- name: Install Dependencies | |
run: | | |
brew install ninja | |
- name: Install Sphinx | |
run: | | |
sudo pip3 install sphinx myst-parser sphinx-markdown-tables sphinx_rtd_theme | |
- name: Setup NuGet Credentials | |
shell: bash | |
run: | | |
mono `vcpkg fetch nuget | tail -n 1` \ | |
sources add \ | |
-source "https://nuget.pkg.github.com/BlueQuartzSoftware/index.json" \ | |
-storepasswordincleartext \ | |
-name "GitHub" \ | |
-username "BlueQuartzSoftware" \ | |
-password "${{secrets.GITHUB_TOKEN}}" | |
mono `vcpkg fetch nuget | tail -n 1` \ | |
setapikey "${{secrets.GITHUB_TOKEN}}" \ | |
-source "https://nuget.pkg.github.com/BlueQuartzSoftware/index.json" | |
- name: Configure | |
run: | | |
cmake --preset ci-macos-x64 ${{github.workspace}} | |
- name: Build | |
run: | | |
cmake --build --preset ci-macos-x64 | |
- name: Test | |
run: | | |
ctest --preset ci-macos-x64 |