Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 13 additions & 9 deletions .github/workflows/c-cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,18 @@ on:
branches: [ "main" ]

jobs:
run-tests:

run-main-tests:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: make
run: mkdir build && cd build && cmake .. && make
- name: make test
run: cd build && make && make test

- name: Checkout MAIN branch
uses: actions/checkout@v4
with:
ref: main

- name: Build and test
run: |
mkdir build
cd build
cmake ..
make
make test