-
Notifications
You must be signed in to change notification settings - Fork 13
46 lines (37 loc) · 1.01 KB
/
Test.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
name: Test
on:
push:
branches: ['master', 'maintenance/*']
pull_request:
workflow_dispatch:
jobs:
test:
runs-on: ${{ matrix.os }}
timeout-minutes: 60
strategy:
fail-fast: false
matrix:
julia-version: ['1.0.5', '1.9']
julia-arch: ['x64']
os: ['ubuntu-latest', 'windows-latest']
omc-version: ['stable']
steps:
- uses: actions/checkout@v3
- name: "Set up OpenModelica Compiler"
uses: AnHeuermann/setup-openmodelica@v0.6
with:
version: ${{ matrix.omc-version }}
packages: |
omc
- run: "omc --version"
- name: "Set up Julia"
uses: julia-actions/setup-julia@v1
with:
version: ${{ matrix.julia-version }}
arch: ${{ matrix.julia-arch }}
- name: Cache Julia
uses: julia-actions/cache@v1
- name: "Build OMJulia"
uses: julia-actions/julia-buildpkg@v1
- name: "Test OMJulia"
uses: julia-actions/julia-runtest@v1