Geometric transform #8
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: CSharp | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
defaults: | |
run: | |
working-directory: ./src | |
jobs: | |
build: | |
name: Build | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- uses: cardinalby/export-env-action@v2 | |
with: | |
envFile: 'github.env' | |
- name: Install dependencies | |
run: dotnet restore | |
- name: Build | |
run: dotnet build --no-restore | |
testDotNet: | |
name: Test Dotnet | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- uses: cardinalby/export-env-action@v2 | |
with: | |
envFile: 'github.env' | |
- name: Install dependencies | |
run: dotnet restore | |
- name: Build | |
run: dotnet build --no-restore | |
- name: Test with the dotnet CLI | |
run: dotnet test --no-build --no-restore --framework net6.0 | |
testFramework: | |
name: Test net Framework | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- uses: cardinalby/export-env-action@v2 | |
with: | |
envFile: 'github.env' | |
- name: Install dependencies | |
run: dotnet restore | |
- name: Build | |
run: dotnet build --no-restore | |
- name: Test with the dotnet CLI | |
run: dotnet test --no-build --no-restore --framework net48 |