From e7c9cc8086ed1d0dead1d2c733d5a3d57a6a3334 Mon Sep 17 00:00:00 2001 From: Tobias Frisch <tfrisch@uni-koblenz.de> Date: Sun, 19 Mar 2023 14:52:06 +0100 Subject: [PATCH] Add Github workflow Signed-off-by: Tobias Frisch <tfrisch@uni-koblenz.de> --- .github/workflows/linux.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .github/workflows/linux.yml diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml new file mode 100644 index 00000000..33d05f42 --- /dev/null +++ b/.github/workflows/linux.yml @@ -0,0 +1,33 @@ +name: Linux Build + +on: + push: + branches: [ develop ] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout the current branch + uses: actions/checkout@v3 + + - name: Initialize LFS + run: | + git lfs install + + - name: Load submodules + run: | + git submodule init + git submodule update + + - name: Install dependencies + run: | + sudo apt-get -qq update + sudo apt-get -qq install libvulkan-dev libvulkan1 + + - name: Build framework + run: | + mkdir build + cd build + cmake .. + make -j $(nproc) \ No newline at end of file -- GitLab