name: Ubuntu debug on: push: branches: [master, static] pull_request: branches: [master, static] jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: cmake run: | mkdir -p build cd build cmake -DCMAKE_BUILD_TYPE=Debug .. - name: Compile working-directory: build run: make -j2 - name: Test working-directory: build run: ctest -j2