-
Notifications
You must be signed in to change notification settings - Fork 2
44 lines (34 loc) · 852 Bytes
/
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
name: CI
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Update ubuntu
run: sudo apt-get update
- name: Install libraries
run: >
sudo apt-get -y install
liblua5.2-dev
- name: Build and install cont
run: |
git clone --branch=master https://github.com/izuzanak/cont.git ${GITHUB_WORKSPACE}/../cont
cd ${GITHUB_WORKSPACE}/../cont/build
cmake ..
make
sudo make install
- name: Build yapgen
run: |
cd ${GITHUB_WORKSPACE}/build
cmake ..
make
sudo make install
- name: Test yapgen
run: |
cd ${GITHUB_WORKSPACE}/build
./test.sh > test.out