Replace Travis CI with GitHub actions (#111) #4
This file contains hidden or 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: ci | |
on: | |
pull_request: | |
push: | |
tags: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: true | |
- name: Setup Cpp | |
uses: aminya/setup-cpp@v1 | |
- name: Build and test | |
run: make test | |
- name: Linear algebra example | |
run: make -C examples/linear_algebra test | |
- name: Resample example | |
run: make -C examples/resample benchmark |