Break into separate CI tasks #1
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 API Docs | |
#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 | |
- name: Install doxygen | |
run: sudo apt-get install doxygen | |
# Execute runtime library unit tests | |
- name: make test-lib | |
run: make libcyclone.a && make test-lib && ./test-lib | |
# Build documentation | |
- name: make doc | |
run: make doc && tar -cf html.tar html && bzip2 html.tar | |
- name: upload deb | |
if: matrix.arch == '64' | |
uses: actions/upload-artifact@v1 | |
with: | |
name: cyclone-scheme docs | |
path: html.tar.bz2 |