-
Notifications
You must be signed in to change notification settings - Fork 2
38 lines (34 loc) · 926 Bytes
/
linux.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: Linux Build and Tests
on:
workflow_dispatch:
push:
branches: [ main, dev, dev-weh, public, private ]
pull_request:
branches: [ main, dev, dev-weh, public, private ]
jobs:
coek-simple-build:
runs-on: ubuntu-latest
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3
- name: run cmake
run: |
mkdir _build
cd _build
cmake ..
- name: build
run: |
cd _build
make
coek-build-and-test-with-tpls:
runs-on: ubuntu-latest
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3
- name: build tpls with Spack and then Coek
run: |
./build.sh --with-spack
- name: test
run: |
cd _build
make test