int - Build arguments can now be injected #146
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 Project (Release) | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
strategy: | |
matrix: | |
runs-on: [ubuntu-latest, windows-latest, macos-latest, macos-13] | |
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: Setup Mono (Unix) | |
if: matrix.runs-on == 'ubuntu-latest' | |
run: sudo apt install mono-complete | |
- name: Solution Compilation (Windows) | |
if: matrix.runs-on == 'windows-latest' | |
run: ./tools/build.cmd Release -p:ContinuousIntegrationBuild=true | |
- name: Solution Compilation (Unix) | |
if: matrix.runs-on != 'windows-latest' | |
run: make rel-ci | |
- name: Testing | |
if: matrix.runs-on != 'macos-latest' | |
run: dotnet test --no-build --configuration Release | |
- name: Testing (macOS ARM64) | |
if: matrix.runs-on == 'macos-latest' | |
run: dotnet test --no-build --configuration Release --framework net8.0 | |