-
Notifications
You must be signed in to change notification settings - Fork 43
38 lines (34 loc) · 1019 Bytes
/
build.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
name: Build
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Dependencies
run: |
sudo apt install -y libopenmpi-dev openmpi-bin gfortran
git clone https://github.com/libocca/occa
cd occa
make -j `nproc`
cd ..
- name: Build
run: make -j `nproc` verbose=true
env:
OCCA_DIR: /home/runner/work/libparanumal/libparanumal/occa/
LD_LIBRARY_PATH: /home/runner/work/libparanumal/libparanumal/occa/lib
LIBP_COVERAGE: 1
- name: Test
run: |
echo ${LD_LIBRARY_PATH}
ls ${OCCA_DIR}/lib
make test LIBP_COVERAGE=1
bash <(curl --no-buffer -s https://codecov.io/bash) -x gcov
env:
OCCA_DIR: /home/runner/work/libparanumal/libparanumal/occa/
LD_LIBRARY_PATH: /home/runner/work/libparanumal/libparanumal/occa/lib
LIBP_COVERAGE: 1