Skip to content

C++ビルドの調整 #53

C++ビルドの調整

C++ビルドの調整 #53

name: C#
on:
push:
branches: ["main", "drecom/develop"]
pull_request:
branches: ["main", "drecom/develop"]
jobs:
build:
runs-on: "ubuntu-latest"
defaults:
run:
working-directory: ./CSharp
steps:
- uses: actions/checkout@v3
- name: Copy Clipper2Lib to USINGZ directory
run: cp Clipper2Lib/*.cs USINGZ/
- name: Setup .NET Core
uses: actions/setup-dotnet@v3
with:
dotnet-version: |
3.1.x
6.0.x
- name: Restore
run: dotnet restore
- name: Build
run: dotnet build --configuration Release --no-restore
- name: Test
run: dotnet test --no-restore --verbosity normal