Skip to content

Updating Julia actions #122

Updating Julia actions

Updating Julia actions #122

Workflow file for this run

name: Test
on:
push:
branches: ['master', 'maintenance/*']
pull_request:
workflow_dispatch:
jobs:
test:
runs-on: ${{ matrix.os }}
timeout-minutes: 30
strategy:
fail-fast: false
matrix:
julia-version: ['1.6', '1.10']
julia-arch: ['x64']
os: ['ubuntu-latest', 'windows-latest']
omc-version: ['stable']
steps:
- uses: actions/checkout@v4
- name: "Set up OpenModelica Compiler"
uses: OpenModelica/[email protected]
with:
version: ${{ matrix.omc-version }}
packages: |
omc
libraries: |
'Modelica 4.0.0'
- run: "omc --version"
- name: "Set up Julia"
uses: julia-actions/setup-julia@v2
with:
version: ${{ matrix.julia-version }}
arch: ${{ matrix.julia-arch }}
- name: Cache Julia
uses: julia-actions/cache@v2
- name: "Build OMJulia"
uses: julia-actions/julia-buildpkg@v1
- name: "Test OMJulia"
uses: julia-actions/julia-runtest@v1
with:
coverage: false