This repository has been archived by the owner on Jun 3, 2024. It is now read-only.
chg - Updated pack scripts for version detection #11
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 | |