Skip to content

Commit

Permalink
ci: shared + static
Browse files Browse the repository at this point in the history
  • Loading branch information
scivision committed Feb 16, 2022
1 parent 42cc824 commit ee16fd2
Showing 1 changed file with 30 additions and 4 deletions.
34 changes: 30 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ on:

jobs:

cmakeScotchMetis:
static-scotch:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Install prereqs
run: |
sudo apt update -yq
sudo apt install -yq --no-install-recommends ninja-build gfortran libopenmpi-dev openmpi-bin liblapack-dev libscalapack-mpi-dev libmetis-dev libscotch-dev
sudo apt install -yq --no-install-recommends ninja-build libopenmpi-dev openmpi-bin liblapack-dev libscalapack-mpi-dev libmetis-dev libscotch-dev
- name: configure release
run: cmake -B build -Darith=d -Dscotch:BOOL=true --install-prefix=${HOME}
Expand All @@ -46,16 +46,42 @@ jobs:
- name: test example
run: ctest --test-dir examples/build --output-on-failure

shared-scotch:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Install prereqs
run: |
sudo apt update -yq
sudo apt install -yq --no-install-recommends ninja-build libopenmpi-dev openmpi-bin liblapack-dev libscalapack-mpi-dev libmetis-dev libscotch-dev
- name: configure release
run: cmake -B build -Darith=d -Dscotch:BOOL=true --install-prefix=${HOME} -DBUILD_SHARED_LIBS:BOOL=on
- name: build release
run: cmake --build build
- name: test release
run: ctest --test-dir build --preset default

- name: install package
run: cmake --install build

- name: configure example
run: cmake -S examples -B examples/build -DMUMPS_ROOT=${HOME} -DBUILD_SHARED_LIBS:BOOL=on
- name: build example
run: cmake --build examples/build || cmake --build examples/build -v
- name: test example
run: ctest --test-dir examples/build --output-on-failure

mumps_intsize64:
intsize64:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Install prereqs
run: |
sudo apt update -yq
sudo apt install -yq --no-install-recommends ninja-build gfortran libopenmpi-dev openmpi-bin liblapack-dev libscalapack-mpi-dev
sudo apt install -yq --no-install-recommends ninja-build libopenmpi-dev openmpi-bin liblapack-dev libscalapack-mpi-dev
- run: cmake -B build -Dintsize64:BOOL=yes -Darith=d
- run: cmake --build build
Expand Down

0 comments on commit ee16fd2

Please sign in to comment.