This repository has been archived by the owner on May 11, 2024. It is now read-only.
Updated Makefiles and workflows as appropriate #3
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 (Debug) | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
strategy: | |
matrix: | |
runs-on: [ubuntu-latest, windows-latest, macos-latest] | |
runs-on: ${{ matrix.runs-on }} | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
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 Debug ; cd .. | |
- name: Solution Compilation (Unix) | |
if: matrix.runs-on != 'windows-latest' | |
run: make dbg | |
- name: Testing | |
run: dotnet test --no-build --configuration Debug | |