-
Notifications
You must be signed in to change notification settings - Fork 13
43 lines (35 loc) · 967 Bytes
/
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
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.8']
julia-arch: ['x64']
os: ['ubuntu-latest', 'windows-latest']
omc-version: ['stable']
steps:
- uses: actions/checkout@v3
- name: "Set up OpenModelica Compiler"
uses: AnHeuermann/[email protected]
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: "Build OMJulia"
uses: julia-actions/julia-buildpkg@v1
- name: "Test OMJulia"
uses: julia-actions/julia-runtest@v1