Skip to content

Commit

Permalink
create c-cpp.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Lieλ authored Oct 23, 2024
1 parent 92f4dae commit 1a956be
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/c-cpp.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: C/C++ CI

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
build:

runs-on: ubuntu-20.04

steps:
- uses: actions/checkout@v4
- name: install deps
run: |
sudo apt-get update
sudo apt-get install -y cmake g++ build-essential libyaml-cpp-dev
- name: cmake
run: |
cmake -Bbuild
cmake --build build -j

0 comments on commit 1a956be

Please sign in to comment.