Skip to content

Commit

Permalink
Create manual.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
biggator6 authored Jul 11, 2024
1 parent 7d53729 commit 0e59276
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/manual.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Manual

on:
label:
types:
- created


env:
BUILD_TYPE: Release

jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest, macos-12, windows-2019 ]
fail-fast: true
name: ${{ matrix.os }} build
steps:
- name: Install Dependencies
if: matrix.os == 'ubuntu-latest'
run: sudo apt update && sudo apt install -y libgl1-mesa-dev xorg-dev libasound2-dev

- uses: actions/checkout@v4
with:
submodules: "recursive"

- name: Set up MSVC compiler
if: matrix.os == 'windows-2019'
uses: ilammy/msvc-dev-cmd@v1

- name: Configure CMake
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}

- name: Build
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} --parallel 3

- name: Pack
working-directory: ${{github.workspace}}/build
run: cmake -P ${{github.workspace}}/scripts/pack.cmake

0 comments on commit 0e59276

Please sign in to comment.