mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-23 20:15:05 +02:00
40 lines
1,008 B
YAML
40 lines
1,008 B
YAML
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 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
|