-
Notifications
You must be signed in to change notification settings - Fork 0
49 lines (46 loc) · 1.27 KB
/
ci.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
49
name: CI
on:
push:
branches:
- main
- jr/actions-project-build
pull_request:
branches: [ "main" ]
jobs:
Linux:
name: build-linux
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-python@v4
with:
python-version: '3.10.6'
- name: Get latest CMake
uses: lukka/get-cmake@latest
- name: Installing Jinja2
run: python -m pip install Jinja2
- name: Installing pytest
run: python -m pip install pytest
- name: Clone PENE
run: |
cd pene_files
git clone https://github.com/aneoconsulting/PENE.git
- name: Clone Verrou
run: |
cd verrou_files
mkdir verrou_repo
cd verrou_repo
git clone --branch=VALGRIND_3_22_0 --single-branch git://sourceware.org/git/valgrind.git valgrind-3.22.0+verrou-dev
cd valgrind-3.22.0+verrou-dev
git clone https://github.com/edf-hpc/verrou.git verrou
patch -p1 <verrou/valgrind.diff
- name: Running cmake
run: |
ls ${{github.workspace}}
mkdir build
cd build
cmake .. -DBUILD_FOR_PENE=ON -DBUILD_FOR_VERROU=ON
- name: Build Solution (Linux)
run: |
cd build
cmake --build .