Skip to content

Commit

Permalink
action version bumps (#75)
Browse files Browse the repository at this point in the history
* action version bumps

* fix PkgEval Xvfb error

* enable julia caching

* formatted

* added caching to eval action

* fixed mac os arch warning in test actions

---------

Co-authored-by: Simon Exner <[email protected]>
  • Loading branch information
0815Creeper and 0815Creeper authored Dec 23, 2024
1 parent 73dbcb4 commit b525581
Show file tree
Hide file tree
Showing 6 changed files with 42 additions and 17 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/Eval.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,21 +18,29 @@ jobs:
julia-arch: [x64]

steps:
# Required by PkgEval.jl as xvfb runs into issues with ubuntu 24. See ci.yml workflow of PkgEval.jl repo
- name: "Allow unprivileged user namespaces"
run: sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0

# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: Check out repository
uses: actions/checkout@v2
uses: actions/checkout@v4

# Set up Julia
- name: "Set up Julia"
uses: julia-actions/setup-julia@v1
uses: julia-actions/setup-julia@v2
with:
version: ${{ matrix.julia-version }}
arch: ${{ matrix.julia-arch }}
id: version

# Set up julia-cache
- name: Set up julia-cache
uses: julia-actions/cache@v2

# Set up cache
- name: "Set up cache"
uses: actions/cache@v2
uses: actions/cache@v4
env:
cache-name: cache-artifacts
with:
Expand Down
20 changes: 15 additions & 5 deletions .github/workflows/TestLTS.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,29 +18,39 @@ jobs:
strategy:
fail-fast: false
matrix:
julia-version: ['1.6']
julia-arch: [x64, x86]
julia-version: ['lts']
julia-arch: [x64, x86, aarch64]
os: [ubuntu-latest, windows-latest, macOS-latest]
experimental: [false]
exclude:
- os: ubuntu-latest
julia-arch: aarch64
- os: windows-latest
julia-arch: aarch64
- os: macOS-latest
julia-arch: x64
- os: macOS-latest
julia-arch: x86

steps:
# Checks-out your repository
- name: Check out repository
uses: actions/checkout@v3
uses: actions/checkout@v4

# Set up Julia
- name: "Set up Julia"
uses: julia-actions/setup-julia@v1
uses: julia-actions/setup-julia@v2
with:
version: ${{ matrix.julia-version }}
arch: ${{ matrix.julia-arch }}

# Set up julia-cache
- name: Set up julia-cache
uses: julia-actions/cache@v2

# Set up cache
- name: "Set up cache"
uses: actions/cache@v3
uses: actions/cache@v4
env:
cache-name: cache-artifacts
with:
Expand Down
22 changes: 16 additions & 6 deletions .github/workflows/TestLatest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,28 +19,38 @@ jobs:
fail-fast: false
matrix:
julia-version: ['1'] # "1" automatically expands to the latest stable 1.x release of Julia
julia-arch: [x64, x86]
julia-arch: [x64, x86, aarch64]
os: [ubuntu-latest, windows-latest, macOS-latest]
experimental: [false]
exclude:
- os: ubuntu-latest
julia-arch: aarch64
- os: windows-latest
julia-arch: aarch64
- os: macOS-latest
julia-arch: x64
- os: macOS-latest
julia-arch: x86

steps:
# Checks-out your repository
- name: Check out repository
uses: actions/checkout@v3
uses: actions/checkout@v4

# Set up Julia
- name: "Set up Julia"
uses: julia-actions/setup-julia@v1
uses: julia-actions/setup-julia@v2
with:
version: ${{ matrix.julia-version }}
arch: ${{ matrix.julia-arch }}

# Set up julia-cache
- name: Set up julia-cache
uses: julia-actions/cache@v2

# Set up cache
- name: "Set up cache"
uses: actions/cache@v3
uses: actions/cache@v4
env:
cache-name: cache-artifacts
with:
Expand All @@ -65,8 +75,8 @@ jobs:

# Run codecov
- name: "Run CodeCov"
uses: codecov/codecov-action@v4
uses: codecov/codecov-action@v5
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
file: lcov.info
files: lcov.info
1 change: 0 additions & 1 deletion src/FMI3/cconst.jl
Original file line number Diff line number Diff line change
Expand Up @@ -489,4 +489,3 @@ export fmi3DependencyKind,
fmi3DependencyKindTunable,
fmi3DependencyKindDiscrete,
fmi3DependencyKindDependent

1 change: 0 additions & 1 deletion src/FMI3/cfunc.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2136,4 +2136,3 @@ function fmi3DoStep!(
return status
end
export fmi3DoStep!

1 change: 0 additions & 1 deletion test/FMI2/utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -177,4 +177,3 @@ function fmi2CallbackLogger(

return nothing
end

0 comments on commit b525581

Please sign in to comment.