Skip to content
Merged
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
30 changes: 30 additions & 0 deletions .github/workflows/c-cpp.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: C/C++ CI

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

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Create build directory
run: mkdir -p build

- name: Run CMake
working-directory: build
run: cmake .. -DSTATIC_QUEUE_TEST=ON

- name: Build the project
working-directory: build
run: make

- name: Run tests
working-directory: build
run: ./test_static_queue
Loading