Skip to content

feat: add github action GTest #76

feat: add github action GTest

feat: add github action GTest #76

Workflow file for this run

name: Pikiwidb
on:
push:
pull_request:
jobs:
build_on_macos:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Build
run: |
sh build.sh
- name: GTest
working-directory: ${{ github.workspace }}/build
# Execute tests defined by the CMake configuration.
# See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail
run: ctest
build_on_ubuntu:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build
run: |
bash build.sh
- name: GTest
working-directory: ${{ github.workspace }}/build
# Execute tests defined by the CMake configuration.
# See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail
run: ctest