mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-18 21:29:18 +02:00
* WIP - C unit testing stubs * Get test-lib to compile and run * Add test-lib to CI * Use cflags for test-lib * Build runtime library * Fix typo * Break into separate CI tasks * Cleanup * Add example tests for non-CPS * Include -g option for test-lib * Add CI to build C runtime Can expand into scheme at some point, this is a first step. * Use latest upload workflow
27 lines
656 B
YAML
27 lines
656 B
YAML
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
|