Skip to content

Update cmake.yml

Update cmake.yml #5

Workflow file for this run

name: ubuntu

Check failure on line 1 in .github/workflows/cmake.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/cmake.yml

Invalid workflow file

`push pull_request ` is not a valid event name
on: |
push
pull_request
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup g++
run: |
sudo apt update
sudo apt install g++
- name: Configure CMake
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
- name: Build
run: cmake --build ${{github.workspace}}/build
- name: Test
working-directory: ${{github.workspace}}/build
run: ./viper_tests