duration: make sure reverse() works even after duration stops #100
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: CI | |
on: [push, pull_request] | |
jobs: | |
test_code_style: | |
name: "Check code style with uncrustify" | |
runs-on: ubuntu-latest | |
steps: | |
- run: sudo apt-get update | |
- run: sudo apt-get install -y git cmake gcc make | |
- uses: actions/checkout@v1 | |
- run: git clone http://github.com/ammen99/uncrustify | |
- run: cd uncrustify && mkdir build && cd build && cmake ../ && make && cd ../../ | |
- run: curl https://raw.githubusercontent.com/WayfireWM/wayfire/master/uncrustify.ini > uncrustify.ini | |
- run: git ls-files | grep "hpp$\|cpp$" | xargs ./uncrustify/build/uncrustify -c uncrustify.ini --check | |
run_tests: | |
name: "Check that tests do not break" | |
runs-on: ubuntu-latest | |
steps: | |
- run: sudo apt-get update | |
- run: sudo apt-get install -y cmake git gcc meson doctest-dev libevdev-dev libxml2-dev libglm-dev | |
- uses: actions/checkout@v1 | |
- run: meson build | |
- run: ninja -C build test |