Skip to content

Commit

Permalink
more workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
shutsch committed Feb 27, 2024
1 parent ff9865c commit c4ae22a
Showing 1 changed file with 20 additions and 2 deletions.
22 changes: 20 additions & 2 deletions .github/workflows/cpp_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,25 @@ on: [push]
# branches: [ $main]

jobs:
build:
build_with_only_tests:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: downloading and installing Catch2
run: git clone https://github.com/catchorg/Catch2.git && cd Catch2 && cmake -Bbuild -H. -DBUILD_TESTING=OFF && sudo cmake --build build/ --target install
- name: load submodules
run: git submodule update --init
- name: cmake
run: mkdir build && export MKPATH="${PWD}" && cd build && echo "${MKPATH}" && cmake "${MKPATH}"
- name: make
run: cd build && sudo make install
- name: ctest
run: cd build && ctest --output-on-failure --use-colour yes


build_with_full_dependencies:

runs-on: ubuntu-latest

Expand All @@ -28,4 +46,4 @@ jobs:
- name: make
run: cd build && sudo make install
- name: ctest
run: cd build && ctest --output-on-failure --use-colour yes
run: cd build && ctest --output-on-failure --use-colour yes

0 comments on commit c4ae22a

Please sign in to comment.