Issue 522 - Add unit test framework for C runtime (#545) #5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: C Runtime Unit Tests | |
#on: [create] | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
arch: [64] | |
steps: | |
# Install dependencies | |
- name: Install libck | |
run: sudo apt-get install libck-dev | |
#- name: Install Cyclone | |
# run: | | |
# wget https://github.com/cyclone-scheme/binary-releases/raw/master/ubuntu-18.04-lts/cyclone-scheme_0.30.0_amd64.deb | |
# sudo apt install ./cyclone-scheme_0.30.0_amd64.deb | |
- uses: actions/checkout@v1 | |
# Execute runtime library unit tests | |
- name: make test-lib | |
run: make libcyclone.a && make test-lib && ./test-lib |