Files
ortools-clone/.github/workflows/make_linux_dotnet.yml
Corentin Le Molgat 81c5901be1 ci: Fix .Net workflows
2021-12-06 16:37:17 +01:00

42 lines
1.0 KiB
YAML

name: Make Linux .Net
on: [push, pull_request]
jobs:
# Building using the github runner environement directly.
make:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
# Install .NET SDKs
- name: Setup .NET Core 3.1
uses: actions/setup-dotnet@v1
with:
dotnet-version: 3.1.x
- name: Setup .NET 6.0
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.x
- name: Check dotnet
run: dotnet --info
- name: Swig install
run: sudo apt install -y swig
- name: Check swig
run: swig -version
- name: Check make
run: make --version
- name: Check system
run: make detect_port
- name: Check .Net
run: make detect_dotnet
- name: Build third party
run: make third_party -j4
- name: Build C++
run: make cc -j4
- name: Build .Net
run: make dotnet -j4
- name: Test .Net
run: make test_dotnet -j4
- name: Create nuget packages
run: make package_dotnet