-
Notifications
You must be signed in to change notification settings - Fork 4
48 lines (43 loc) · 1.15 KB
/
build_and_test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
name: build_and_test
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
# macos-test:
# runs-on: macos-latest
# steps:
# - uses: actions/checkout@v3
# - name: Test
# run: |
# export DYLD_LIBRARY_PATH=${{ github.workspace }}/lib/macos/:$DYLD_LIBRARY_PATH
# cargo test version
# linux-test:
# runs-on: ubuntu-20.04
# steps:
# - uses: actions/checkout@v3
# - name: Test
# run: |
# sudo apt install -y gcc g++ gfortran liblapack3 libtbb2 libcliquer1 libopenblas-dev libgsl23 patchelf
# cargo test version
debian-test:
runs-on: ubuntu-20.04
container:
image: debian:latest
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: |
apt-get update
apt-get install -y gcc g++ gfortran liblapacke libtbb2 libcliquer1 libopenblas-dev libgsl-dev patchelf curl clang libclang-dev
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- name: Test
run: |
cargo test version