Make the installed CMake package reusable #659
Workflow file for this run
This file contains hidden or 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: Build and Test - Pixi | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| build: | |
| name: Build VRS on ${{ matrix.os }} | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [macos-14, macos-latest, ubuntu-latest, windows-2022] # note: macos builds are arm only | |
| steps: | |
| - name : Setup repo | |
| uses: actions/checkout@v4 | |
| - name : Remove Mono framework | |
| if: runner.os == 'macOS' | |
| run: | |
| sudo rm -rf /Library/Frameworks/Mono.framework | |
| sudo pkgutil --forget com.xamarin.mono-MDK.pkg | |
| sudo rm /etc/paths.d/mono-commands | |
| - name : Setup pixi | |
| uses: prefix-dev/setup-pixi@v0.8.5 | |
| with: | |
| pixi-version: v0.44.0 | |
| cache: false | |
| - name: Build | |
| run: pixi run build | |
| - name: Test | |
| run: pixi run test | |
| - name: Test installed CMake package | |
| run: pixi run test-consumer |