diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml new file mode 100644 index 0000000..c162a40 --- /dev/null +++ b/.github/workflows/build_and_test.yml @@ -0,0 +1,23 @@ +name: Build and test +on: + push: + branches: [ "wip_actions" ] + pull_request: + branches: [ "wip_actions" ] + +jobs: + build: + runs-on: ubuntu-24.04 + container: archlinux:base-devel + steps: + - name: install-dependencies + run: | + sudo pacman -Syyu boost boost-libs doxygen + - uses: actions/checkout@v4 + with: + path: ./src + submodules: recursive + - name: build-debug + run: | + cmake -DCMAKE_BUILD_TYPE=Debug -DENABLE_JS=On -DXCMAKE_CLANG_TIDY=On -DXCMAKE_SYSTEM_GTEST=OFF -DXCMAKE_DOXYGEN_WERROR=OFF -DCMAKE_INSTALL_PREFIX=inst -Bbuild src + make -C build install -j$(nproc) \ No newline at end of file