From 3e219c50e2cbefa6f511021478745eb7c0c3133d Mon Sep 17 00:00:00 2001
From: Brent Huisman <brenthuisman@users.noreply.github.com>
Date: Thu, 1 Apr 2021 17:16:22 +0200
Subject: [PATCH] install v8 of clang, gcc (#1472)
* Install gcc-8 and clang-8 in GitHub Actions Ubuntu image, as these had been removed in an update 29.03.2021. See https://github.com/actions/virtual-environments/issues/2950
---
.github/workflows/basic.yml | 15 ++++++++++-----
1 file changed, 10 insertions(+), 5 deletions(-)
diff --git a/.github/workflows/basic.yml b/.github/workflows/basic.yml
index dcfcd33e..3ffd089a 100644
--- a/.github/workflows/basic.yml
+++ b/.github/workflows/basic.yml
@@ -92,6 +92,11 @@ jobs:
# See https://github.com/open-mpi/ompi/issues/6518
OMPI_MCA_btl: "self,tcp"
steps:
+ - name: Get clang/gcc 8
+ if: ${{ startsWith(matrix.config.os, 'ubuntu') }}
+ run: |
+ sudo apt-get update
+ sudo apt-get install -y "clang-8" "lldb-8" "lld-8" "clang-format-8" g++-8
- name: Set up cmake
uses: jwlawson/actions-setup-cmake@v1.7
with:
@@ -157,27 +162,27 @@ jobs:
- if: ${{ matrix.config.mpi == 'OFF' }}
name: Run examples
run: |
- build/bin/bench
+ build/bin/bench
build/bin/brunel
build/bin/dryrun
build/bin/gap_junctions
build/bin/generators
build/bin/lfp
build/bin/probe-demo v
- build/bin/ring
+ build/bin/ring
build/bin/single-cell
- if: ${{ matrix.config.mpi == 'ON' }}
name: Run examples with MPI
run: |
- mpirun -n 4 -oversubscribe build/bin/bench
+ mpirun -n 4 -oversubscribe build/bin/bench
mpirun -n 4 -oversubscribe build/bin/brunel
mpirun -n 4 -oversubscribe build/bin/dryrun
mpirun -n 4 -oversubscribe build/bin/gap_junctions
mpirun -n 4 -oversubscribe build/bin/generators
mpirun -n 4 -oversubscribe build/bin/lfp
mpirun -n 4 -oversubscribe build/bin/probe-demo v
- mpirun -n 4 -oversubscribe build/bin/ring
- mpirun -n 4 -oversubscribe build/bin/single-cell
+ mpirun -n 4 -oversubscribe build/bin/ring
+ mpirun -n 4 -oversubscribe build/bin/single-cell
- name: Run python tests
run: python python/test/unit/runner.py
- if: ${{ matrix.config.mpi == 'ON' }}
--
GitLab