Proposed clean-ups (#894) #721
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: C# | |
on: | |
push: | |
pull_request: | |
jobs: | |
windows-latest: | |
runs-on: 'windows-latest' | |
defaults: | |
run: | |
working-directory: ./CSharp | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Copy Clipper2Lib to USINGZ directory | |
run: cp Clipper2Lib/*.cs USINGZ/ | |
- name: Setup .NET Core | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: '6.0.x' | |
- name: Install Dependencies | |
run: dotnet restore | |
- name: Build Solution | |
run: dotnet build --configuration Release --no-restore | |
- name: Run Tests | |
run: dotnet test --no-restore --verbosity normal |