Skip to content

Commit

Permalink
Merge pull request #1 from ZhuLingQing/dev-ci
Browse files Browse the repository at this point in the history
Create c-cpp.yml
  • Loading branch information
ZhuLingQing authored Mar 15, 2024
2 parents 03ff66a + 6168286 commit 0c1471b
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/c-cpp.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
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
- name: build with bash
run: bash build.sh
- name: run tests
run: pushd build && ./test_pt_os &&popd

0 comments on commit 0c1471b

Please sign in to comment.