From 43bf5e00d39aa9c3d908df0b12a880fb85df3da5 Mon Sep 17 00:00:00 2001 From: Benjamin Lorenz Date: Wed, 9 Oct 2024 17:32:09 +0200 Subject: [PATCH] CI: add workaround for new gcc with julia 1.6 on github runners (#4189) * CI: add workaround for new gcc with julia 1.6 on github runners * CI: try using output variable instead of path for julia bindir --- .github/workflows/CI.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 235eddb1dbe6..24c980c0a646 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -78,6 +78,7 @@ jobs: # be able to properly deal with PRs / merges fetch-depth: 2 - name: "Set up Julia" + id: setup-julia uses: julia-actions/setup-julia@v2 with: version: ${{ matrix.julia-version }} @@ -99,6 +100,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: