Skip to content
Snippets Groups Projects
Unverified Commit 3e219c50 authored by Brent Huisman's avatar Brent Huisman Committed by GitHub
Browse files

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
parent 96d961ac
No related branches found
No related tags found
No related merge requests found
...@@ -92,6 +92,11 @@ jobs: ...@@ -92,6 +92,11 @@ jobs:
# See https://github.com/open-mpi/ompi/issues/6518 # See https://github.com/open-mpi/ompi/issues/6518
OMPI_MCA_btl: "self,tcp" OMPI_MCA_btl: "self,tcp"
steps: 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 - name: Set up cmake
uses: jwlawson/actions-setup-cmake@v1.7 uses: jwlawson/actions-setup-cmake@v1.7
with: with:
...@@ -157,27 +162,27 @@ jobs: ...@@ -157,27 +162,27 @@ jobs:
- if: ${{ matrix.config.mpi == 'OFF' }} - if: ${{ matrix.config.mpi == 'OFF' }}
name: Run examples name: Run examples
run: | run: |
build/bin/bench build/bin/bench
build/bin/brunel build/bin/brunel
build/bin/dryrun build/bin/dryrun
build/bin/gap_junctions build/bin/gap_junctions
build/bin/generators build/bin/generators
build/bin/lfp build/bin/lfp
build/bin/probe-demo v build/bin/probe-demo v
build/bin/ring build/bin/ring
build/bin/single-cell build/bin/single-cell
- if: ${{ matrix.config.mpi == 'ON' }} - if: ${{ matrix.config.mpi == 'ON' }}
name: Run examples with MPI name: Run examples with MPI
run: | 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/brunel
mpirun -n 4 -oversubscribe build/bin/dryrun mpirun -n 4 -oversubscribe build/bin/dryrun
mpirun -n 4 -oversubscribe build/bin/gap_junctions mpirun -n 4 -oversubscribe build/bin/gap_junctions
mpirun -n 4 -oversubscribe build/bin/generators mpirun -n 4 -oversubscribe build/bin/generators
mpirun -n 4 -oversubscribe build/bin/lfp mpirun -n 4 -oversubscribe build/bin/lfp
mpirun -n 4 -oversubscribe build/bin/probe-demo v mpirun -n 4 -oversubscribe build/bin/probe-demo v
mpirun -n 4 -oversubscribe build/bin/ring mpirun -n 4 -oversubscribe build/bin/ring
mpirun -n 4 -oversubscribe build/bin/single-cell mpirun -n 4 -oversubscribe build/bin/single-cell
- name: Run python tests - name: Run python tests
run: python python/test/unit/runner.py run: python python/test/unit/runner.py
- if: ${{ matrix.config.mpi == 'ON' }} - if: ${{ matrix.config.mpi == 'ON' }}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment