Skip to content

Added parallel test script to workflow pipeline. #57

Added parallel test script to workflow pipeline.

Added parallel test script to workflow pipeline. #57

Workflow file for this run

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/parallel.zhv
./dist/zhivo ./test/regex.zhv
./dist/zhivo ./test/test.zhv
./dist/zhivo ./test/types.zhv