Skip to content

Commit

Permalink
Add GH Action (Compiled Libs)
Browse files Browse the repository at this point in the history
  • Loading branch information
cpmech committed Oct 9, 2023
1 parent f0a2a76 commit bd198d2
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 1 deletion.
16 changes: 16 additions & 0 deletions .github/workflows/test_with_compiled_libs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Test with Compiled Libs
on: [pull_request]
jobs:
test_with_compiled_libs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Libraries
run: |
bash zscripts/02-ubuntu-openblas-compile.bash
- name: Run tests
env:
RUSSELL_SPARSE_USE_LOCAL_MUMPS: 1
RUSSELL_SPARSE_USE_LOCAL_UMFPACK: 1
run: |
RUST_BACKTRACE=1 cargo test
2 changes: 1 addition & 1 deletion .github/workflows/test_with_intel_mkl.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Test with Intel MKL
on: [pull_request]
jobs:
test_and_coverage:
test_with_intel_mkl:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down
1 change: 1 addition & 0 deletions zscripts/02-ubuntu-openblas-compile.bash
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ sudo () {
sudo apt-get update -y && \
sudo apt-get install -y --no-install-recommends \
cmake \
curl \
g++ \
gdb \
gfortran \
Expand Down
1 change: 1 addition & 0 deletions zscripts/03-ubuntu-intel-mkl-compile.bash
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ sudo () {
sudo apt-get update -y && \
sudo apt-get install -y --no-install-recommends \
cmake \
curl \
g++ \
gdb \
git \
Expand Down

0 comments on commit bd198d2

Please sign in to comment.