remove all submodules #47
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Linux Release Build | |
on: | |
push: | |
branches: ["main"] | |
pull_request: | |
branches: ["main"] | |
env: | |
BUILD_PATH: out | |
BUILD_TYPE: release | |
BUILD_PLATFORM: linux | |
permissions: | |
security-events: write | |
actions: read | |
contents: read | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
timeout-minutes: 360 | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest] | |
arch: [x64, x86] | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- uses: lukka/get-cmake@latest | |
- name: Install Dependencies | |
run: | | |
sudo apt-get update -y | |
sudo apt install -y libasound2-dev libx11-dev libxrandr-dev libxi-dev libgl1-mesa-dev libglu1-mesa-dev libxcursor-dev libxinerama-dev | |
- name: Configure CMake | |
run: cmake -S . -B ${{env.BUILD_PATH}} --preset=${{matrix.arch}}-${{env.BUILD_TYPE}}-${{env.BUILD_PLATFORM}} | |
- name: Build Project | |
run: cmake --build ${{env.BUILD_PATH}} --config ${{env.BUILD_TYPE}} --target wispy | |
- name: Upload Artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: wipsy-${{env.BUILD_PLATFORM}}-${{matrix.arch}} | |
path: ./${{env.BUILD_PATH}}/wispy | |
# ./tools/resource.pack |