-
Notifications
You must be signed in to change notification settings - Fork 0
executable file
·53 lines (46 loc) · 1.23 KB
/
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
name: Build-Linux
on:
push:
paths-ignore:
- 'doc/**'
- '**.md'
- '**.rst'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install prereqs
run: |
sudo apt-get update
sudo apt-get install -y libgraphviz-dev libboost-all-dev
- name: Install SimGrid
run: |
git clone https://framagit.org/simgrid/simgrid.git
cd simgrid
git checkout e3bfee0abad43d0b16c84b093b8c4d921fa91ddf
mkdir build
cd build
cmake ..
make -j8
sudo make install
- name: Install Google Tests
run: |
wget https://github.com/google/googletest/archive/refs/tags/release-1.11.0.tar.gz
tar xf release-1.11.0.tar.gz
cd googletest-release-1.11.0
cmake .
make -j8
sudo make install
- name: Build tests
run: |
git clone https://github.com/frs69wq/file-system-module.git
cd file-system-module
mkdir build
cd build
cmake ..
make -j8 unit_tests
./unit_tests