Skip to content

Commit

Permalink
build MKL.NET.Native x86 in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
AnthonyLloyd committed Sep 22, 2024
1 parent 983f647 commit 02adef8
Showing 1 changed file with 27 additions and 12 deletions.
39 changes: 27 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,31 @@ on:
pull_request:

jobs:
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 x86 -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@v4
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 --no-self-contained -- -perf --info --nost --time 60 --wait 10 --skip
windows_core_64:
runs-on: windows-latest
env:
Expand All @@ -18,26 +43,16 @@ jobs:
include-prerelease: true
- name: Download Native
run: ./Scripts/Download-Devel win-x64
- name: Build Native 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: Build Native x86
run: |
cmake --version
cmake -A x86 -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 x64
- name: Upload Native
uses: actions/upload-artifact@v4
with:
name: win-x64
path: MKL.NET.Native/bin/build/win-x64/Release/MKL.NET.Native.dll
- name: Upload Native x86
uses: actions/upload-artifact@v4
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-x64 --no-self-contained -- -perf --info --nost --time 60 --wait 10 --skip
linux_core_64:
Expand Down

0 comments on commit 02adef8

Please sign in to comment.