diff --git a/.github/workflows/main.yml b/.github/workflows/c-api-docs.yml similarity index 100% rename from .github/workflows/main.yml rename to .github/workflows/c-api-docs.yml diff --git a/.github/workflows/c-runtime-unit-tests.yml b/.github/workflows/c-runtime-unit-tests.yml new file mode 100644 index 00000000..a9cba2b9 --- /dev/null +++ b/.github/workflows/c-runtime-unit-tests.yml @@ -0,0 +1,27 @@ +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