Files
ortools-clone/.github/workflows/make_linux_dotnet.yml
Laurent Perron 1adfa7fc80 make: cleanup
* Remove SYSTEM (only use PLATFORM)
* Add HAS_PYTHON HAS_JAVA HAS_DOTNET
* move Makefile.unix|win.mk into Makefile.port.mk
* fix make CI
2022-03-09 09:23:41 +01:00

38 lines
928 B
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 C++ and .NET
run: make dotnet JOBS=4
- name: Test .Net
run: make test_dotnet -j4
- name: Create nuget packages
run: make package_dotnet