-
-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (33 loc) · 963 Bytes
/
build_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
name: Build CI
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Get build dependencies
run: sudo apt install build-essential make -y
- name: Build Zhivo
run: |
chmod +x build.sh
./build.sh
- name: Build verification
run: |
ls dist -ral
find dist | sort | sed -e "s/[^-][^\/]*\// |/g" -e "s/|\([^ ]\)/|-\1/"
- name: Build test
run: |
./dist/zhivo ./test/arithmetic.zhv
./dist/zhivo ./test/array.zhv
./dist/zhivo ./test/digits.zhv
./dist/zhivo ./test/error_handling.zhv
./dist/zhivo ./test/flow.zhv
./dist/zhivo ./test/func.zhv
# ./dist/zhivo ./test/loop.zhv
./dist/zhivo ./test/regex.zhv
./dist/zhivo ./test/test.zhv
./dist/zhivo ./test/types.zhv