Update Build Target #3
Workflow file for this run
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 OSX | |
#on: [push, pull_request] | |
env: | |
DOTNET_CLI_TELEMETRY_OPTOUT: 1 | |
jobs: | |
build: | |
runs-on: macOS-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Setup .NET Core | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: | | |
6.x | |
8.x | |
- name: Build Reason | |
run: "echo ref: ${{github.ref}} event: ${{github.event_name}}" | |
- name: Build | |
shell: bash | |
run: | | |
for project in $(find ./src -name "*.csproj"); do | |
dotnet build --configuration Release $project | |
done | |
- name: Run Tests | |
shell: bash | |
run: | | |
for project in $(find ./tests -name "*.csproj"); do | |
dotnet test --configuration Release $project | |
done |