Skip to content

Commit

Permalink
CI: add workaround for new gcc with julia 1.6 on github runners (#4189)
Browse files Browse the repository at this point in the history
* CI: add workaround for new gcc with julia 1.6 on github runners

* CI: try using output variable instead of path for julia bindir

(cherry picked from commit 43bf5e0)
  • Loading branch information
benlorenz committed Oct 18, 2024
1 parent bc93a6b commit 03eb0e0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@ jobs:
# be able to properly deal with PRs / merges
fetch-depth: 2
- name: "Set up Julia"
uses: julia-actions/setup-julia@v1
id: setup-julia
uses: julia-actions/setup-julia@v2
with:
version: ${{ matrix.julia-version }}
- uses: julia-actions/cache@v1
Expand All @@ -89,6 +90,9 @@ jobs:
- name: "set test subgroup"
if: ${{ matrix.group }} != ''
run: echo "OSCAR_TEST_SUBSET=${{matrix.group}}" >> $GITHUB_ENV
- name: "workaround libstdc++ issue for julia 1.6"
if: matrix.julia-version == '1.6' && runner.os == 'Linux'
run: rm -f ${{ steps.setup-julia.outputs.julia-bindir }}/../lib/julia/libstdc++.so.6
- name: "Run tests"
uses: julia-actions/julia-runtest@latest
with:
Expand Down

0 comments on commit 03eb0e0

Please sign in to comment.