-
Notifications
You must be signed in to change notification settings - Fork 1
46 lines (40 loc) · 1.04 KB
/
cmake.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
name: ci
on:
push:
branches:
- base
- main
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.x
- name: Cache dependencies
uses: actions/cache@v2
with:
key: ${{ github.ref }}
path: .cache
- name: build docs
run: |
pip install mkdocs-material
mkdocs gh-deploy --force
- name: install pre-reqs and build
run: |
chmod +x install/installUbuntu.sh
sudo ./install/installationUbuntu.sh
- name: test
run: |
mkdir build
cd build
wget https://github.com/oneapi-src/oneTBB/archive/2019_U9.tar.gz
tar -xvzf 2019_U9.tar.gz
cmake -DTBB_DIR=${PWD}/oneTBB-2019_U9 -DCMAKE_PREFIX_PATH=${PWD}/oneTBB-2019_U9/cmake ..
make -j2
./panmat-utils --help