Skip to content

2b) add cpp and rust tests on ci #2030

2b) add cpp and rust tests on ci

2b) add cpp and rust tests on ci #2030

Workflow file for this run

name: Ubuntu
on:
push:
branches:
- '*'
pull_request:
branches: [ master-dev ]
jobs:
build:
if: github.repository_owner == 'grame-cncm' || github.event_name == 'pull_request'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Checkout submodules
run: git submodule update --init --recursive
- name: Install libmicrohttpd
run: |
sudo apt-get update -qq
sudo apt-get install libmicrohttpd-dev
- name: Build Faust
run: make
- name: Copy c header to expected path by impulse test
run: |
mkdir -p faust/dsp/
cp compiler/generator/libfaust.h faust/dsp/
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
- name: Run impulse tests (C++)
run: cd tests/impulse-tests && make cpp
- name: Run impulse tests (Rust)
run: cd tests/impulse-tests && make rust