chg - Finalized the CI rollout #336
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: Build Project (Release) | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
strategy: | |
matrix: | |
runs-on: [ubuntu-latest, windows-latest, macos-latest] | |
fail-fast: false | |
runs-on: ${{ matrix.runs-on }} | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: 'true' | |
ref: ${{ github.ref }} | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: '8.0.x' | |
- name: Solution Compilation (Windows) | |
if: matrix.runs-on == 'windows-latest' | |
run: cd tools ; ./build.cmd Release -p:ContinuousIntegrationBuild=true ; cd .. | |
- name: Solution Compilation (macOS) | |
if: matrix.runs-on == 'macos-latest' | |
run: make rel-ci | |
- name: Solution Compilation (Unix) | |
if: matrix.runs-on == 'ubuntu-latest' | |
run: | | |
sudo apt install mono-complete | |
make rel-ci | |
- name: Testing | |
run: dotnet test --no-build --configuration Release | |