Add a Github workflow to generate release tarballs #49
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: libpisp build test | |
on: | |
workflow_dispatch: | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build-test: | |
runs-on: [ ubuntu-latest ] | |
strategy: | |
matrix: | |
compiler: [ g++, clang++ ] | |
build_type: [ release, debug ] | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 1 | |
clean: true | |
- name: Install meson and ninja | |
run: pip3 install --user meson ninja | |
- name: Install boost dependencies | |
run: sudo apt install -y libboost-log-dev libboost-thread-dev | |
- name: Configure meson | |
run: CXX=${{matrix.compiler}} meson setup build_${{matrix.compiler}}_${{matrix.build_type}} -Dbuildtype=${{matrix.build_type}} | |
timeout-minutes: 5 | |
- name: Build | |
run: ninja -C build_${{matrix.compiler}}_${{matrix.build_type}} | |
timeout-minutes: 10 |