-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Matrix tests possible for different versions of Julia or OMC. - Use AnHeuermann/setup-OpenModelica to set up OpenModelica - Use setup-julia for julia
- Loading branch information
1 parent
195f655
commit ae31c37
Showing
3 changed files
with
43 additions
and
62 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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 |
ae31c37
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@JuliaRegistrator register()
ae31c37
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Registration pull request created: JuliaRegistries/General/78337
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via: