Skip to content

Commit

Permalink
ci: add a job for running tests on alpine-linux
Browse files Browse the repository at this point in the history
  • Loading branch information
mrunix00 committed Dec 5, 2023
1 parent 7bc7c1e commit 8e8ed2a
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion .github/workflows/c-cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
branches: [ "main" ]

jobs:
build:
build-gcc:

runs-on: ubuntu-latest

Expand All @@ -21,3 +21,19 @@ jobs:
run: mkdir build && cd build && cmake .. && cmake --build .
- name: run the tests
run: ctest --test-dir build/tests -V

build-clang:

runs-on: ubuntu-latest
steps:
- uses: jirutka/setup-alpine@v1
with:
branch: v3.15
packages: git clang cmake
- name: fetch submodules
run: git submodule init && git submodule update
- name: build the app
run: mkdir build && cd build && cmake .. && cmake --build .
- name: run the tests
run: ctest --test-dir build/tests -V

0 comments on commit 8e8ed2a

Please sign in to comment.