Skip to content
Snippets Groups Projects
linux.yml 767 B
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: |
          sudo apt-get -qq install git-lfs
          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 ninja-build cmake extra-cmake-modules g++
          sudo apt-get -qq install libvulkan-dev xorg-dev

      - name: Build framework
        run: |
          cmake -G Ninja -DCMAKE_BUILD_TYPE=Debug -S . -B build
          cmake --build build