Merge remote-tracking branch 'origin/master'
[minishell-2.git] / .semaphore / semaphore.yml
blob2d4b652263ddc3d9aef6fc426ee5d3eb7da1c09a
1 version: v1.0
2 name: miniSHELL-2
3 agent:
4   machine:
5     type: e1-standard-2
6     os_image: ubuntu1804
7 blocks:
8   - name: Build miniSHELL2
9     task:
10       jobs:
11         - name: Build miniSHELL2 with G++ 7 and 8
12           matrix:
13             - env_var: GPP_VERSION
14               values:
15                 - '7'
16                 - '8'
17           commands:
18             - checkout
19             - sem-version cpp $GPP_VERSION
20             - g++ -c -pipe -std=gnu++11 -Wall -W -fPIC -I. Sources/main.cpp Sources/opsys.cpp Sources/input.cpp
21             - 'g++ -Wl,-O1 -o minishell-2 input.o main.o opsys.o'