Skip to content

Merge pull request #1 from ZhuLingQing/dev-ci #3

Merge pull request #1 from ZhuLingQing/dev-ci

Merge pull request #1 from ZhuLingQing/dev-ci #3

Workflow file for this run

name: C/C++ CI
on:
push:
branches: [ "main", "dev" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: check the environment
run: g++ --version
run: git --version

Check failure on line 17 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: 17, Col: 7): 'run' is already defined
- name: build with bash
run: bash build.sh
- name: run tests
run: pushd build && ./test_pt_os &&popd