Skip to content

ci: update labeler version #116

ci: update labeler version

ci: update labeler version #116

name: rgaas workflow
on: [push]
jobs:
rgaas-workflow:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v3
- name: CMake config
run: cmake .
- name: Clang-Format
run: find ./rgaas/ ./modules/ -name *.h -o -name *.c | xargs clang-format-14 --dry-run -Werror
- name: Clang-Tidy
run: find ./rgaas/ ./modules/ -name *.h -o -name *.c | xargs clang-tidy-14
- name: CMake build
run: cmake --build .
- name: Run unit tests
run: ./build/unit-test
- name: Valgrind (install)
run: sudo apt-get install valgrind -y
- name: Valgrind (run)
run: chmod +x ./test/valgrind/valgrind.sh && ./test/valgrind/valgrind.sh
- name: Archive artifacts
uses: actions/upload-artifact@v3
with:
name: artifacts
path: build