Skip to content

Commit

Permalink
WIP github action
Browse files Browse the repository at this point in the history
  • Loading branch information
Sheeo committed Sep 10, 2024
1 parent b79ae82 commit 3ee3d7a
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
@@ -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 -Syu --noconfirm 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)

0 comments on commit 3ee3d7a

Please sign in to comment.