CsCheck 3.0.0-rc2 #567
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: CI | |
on: | |
push: | |
pull_request: | |
jobs: | |
windows_core_64: | |
runs-on: windows-latest | |
env: | |
DOTNET_NOLOGO: true | |
DOTNET_CLI_TELEMETRY_OPTOUT: true | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: '6.0.x' | |
include-prerelease: true | |
- name: Download Native | |
run: ./Scripts/Download-Devel win-x64 | |
- name: Build Native | |
run: | | |
cmake --version | |
cmake -A x64 -S MKL.NET.Native -B MKL.NET.Native/bin/build/win-x64 | |
cmake --build MKL.NET.Native/bin/build/win-x64 --config Release --verbose | |
- name: Upload Native | |
uses: actions/upload-artifact@v2 | |
with: | |
name: win-x64 | |
path: MKL.NET.Native/bin/build/win-x64/Release/MKL.NET.Native.dll | |
- name: Test | |
run: dotnet run --project Tests -c Release -f net6.0 -r win-x64 --no-self-contained -- -perf --info --nost --time 60 --wait 10 --skip | |
windows_core_86: | |
runs-on: windows-latest | |
env: | |
DOTNET_NOLOGO: true | |
DOTNET_CLI_TELEMETRY_OPTOUT: true | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: '6.0.x' | |
include-prerelease: true | |
- name: Download Native | |
run: ./Scripts/Download-Devel win-x86 | |
- name: Build Native | |
run: | | |
cmake --version | |
cmake -A Win32 -S MKL.NET.Native -B MKL.NET.Native/bin/build/win-x86 | |
cmake --build MKL.NET.Native/bin/build/win-x86 --config Release --verbose | |
- name: Upload Native | |
uses: actions/upload-artifact@v2 | |
with: | |
name: win-x86 | |
path: MKL.NET.Native/bin/build/win-x86/Release/MKL.NET.Native.dll | |
- name: Test | |
run: dotnet run --project Tests -c Release -f net6.0 -r win-x86 -- -perf --info --nost --time 60 --wait 10 --skip | |
linux_core_64: | |
runs-on: ubuntu-latest | |
env: | |
DOTNET_NOLOGO: true | |
DOTNET_CLI_TELEMETRY_OPTOUT: true | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: '6.0.x' | |
include-prerelease: true | |
- name: Download Native | |
shell: pwsh | |
run: ./Scripts/Download-Devel linux-x64 | |
- name: Build Native | |
run: | | |
cmake --version | |
cmake -S MKL.NET.Native -B MKL.NET.Native/bin/build/linux-x64 | |
cmake --build MKL.NET.Native/bin/build/linux-x64 --config Release --verbose | |
- name: Upload Native | |
uses: actions/upload-artifact@v2 | |
with: | |
name: linux-x64 | |
path: MKL.NET.Native/bin/build/linux-x64/MKL.NET.Native.so | |
- name: Test | |
run: dotnet run --project Tests -c Release -f net6.0 -r linux-x64 --no-self-contained -- -perf --info --nost --time 60 --wait 10 --memo 130 --skip | |
osx_core_64: | |
runs-on: macos-latest | |
env: | |
DOTNET_NOLOGO: true | |
DOTNET_CLI_TELEMETRY_OPTOUT: true | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: '6.0.x' | |
include-prerelease: true | |
- name: Download Native | |
shell: pwsh | |
run: ./Scripts/Download-Devel osx-x64 | |
- name: Build Native | |
run: | | |
cmake --version | |
cmake -S MKL.NET.Native -B MKL.NET.Native/bin/build/osx-x64 | |
cmake --build MKL.NET.Native/bin/build/osx-x64 --config Release --verbose | |
- name: Upload Native | |
uses: actions/upload-artifact@v2 | |
with: | |
name: osx-x64 | |
path: MKL.NET.Native/bin/build/osx-x64/MKL.NET.Native.dylib | |
- name: Test | |
run: dotnet run --project Tests -c Release -f net6.0 -r osx-x64 --no-self-contained -- -perf --info --nost --time 60 --wait 10 --skip |