Merge pull request #6 from no92/g++-lazy-require #16
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: Continuous Integration | |
on: [push, pull_request] | |
jobs: | |
run-tests: | |
name: Run tests | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Install prerequisites | |
run: | | |
sudo apt-get install ninja-build g++-10 | |
sudo pip3 install setuptools | |
sudo pip3 install meson | |
- name: Prepare directories | |
run: | | |
mkdir bragi/ | |
mkdir build/ | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
path: bragi/ | |
- name: Install bragi | |
run: 'sudo pip install -e bragi/' | |
- name: Configure tests | |
run: 'meson setup build bragi -Dbuild_tests=true' | |
- name: Run tests | |
run: 'ninja test' | |
working-directory: build/ |