Skip to content

update c-cpp.yml with cmake #19

update c-cpp.yml with cmake

update c-cpp.yml with cmake #19

Workflow file for this run

name: C/C++ CI
on:
push:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: check the environment
run: g++ --version && git --version && bash --version
run: cmake --version

Check failure on line 15 in .github/workflows/c-cpp.yml

View workflow run for this annotation

GitHub Actions / C/C++ CI

Invalid workflow file

The workflow is not valid. .github/workflows/c-cpp.yml (Line: 15, Col: 7): 'run' is already defined
- name: make the project
run: |
mkdir build
pushd build
cmake ..
make
popd
- name: test
run: |
pushd build
make test
popd
- name: test with bash
run: |
./build/tests/test_pt_os
echo "DONE
"