-
Notifications
You must be signed in to change notification settings - Fork 2
64 lines (56 loc) · 1.81 KB
/
base-tests-windows.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
name: CI Windows
on:
push:
branches:
- main
pull_request:
env:
BUILD_TYPE: RelWithDebInfo
jobs:
test:
runs-on: ${{ matrix.os }}
env:
ORT_DIR: '${{ github.workspace }}/${{ matrix.ort_dir }}'
strategy:
matrix:
julia-version: ['1.10']
julia-arch: [x64]
os: [windows-latest]
include:
- os: windows-latest
ort_url: 'https://github.com/microsoft/onnxruntime/releases/download/v1.12.1/onnxruntime-win-x64-1.12.1.zip'
ort_archieve_name: 'onnxruntime-win-x64-1.12.1.zip'
ort_dir: 'onnxruntime-win-x64-1.12.1'
timeout-minutes: 60
steps:
- uses: actions/checkout@v4
# Install CMake version 3.21
- name: Setup cmake
uses: jwlawson/actions-setup-cmake@v2
with:
cmake-version: '3.21'
- run: cmake --version
# Build onnxWrapper library
- name: Download ONNX Runtime
run: |
Start-BitsTransfer -Source ${{ matrix.ort_url }} -Destination ${{ matrix.ort_archieve_name }}
7z x ${{ matrix.ort_archieve_name }}
rm ${{ matrix.ort_archieve_name }}
shell: pwsh
# Setup OpenModelica for OMJulia.jl
- uses: OpenModelica/setup-openmodelica@v1
with:
version: 'nightly'
- run: |
which omc
omc --version
rm "$OPENMODELICAHOME"\\tools\\msys\\mingw64\\bin\\cmake.exe "$OPENMODELICAHOME"\\tools\\msys\\mingw64\\bin\\cmake-gui.exe
shell: bash
# Build and test NonLinearSystemNeuralNetworkFMU.jl
- uses: julia-actions/setup-julia@v1
with:
version: ${{ matrix.julia-version }}
arch: ${{ matrix.julia-arch }}
- uses: julia-actions/cache@v1
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-runtest@v1