-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Manual github actions to build the GUI
- Loading branch information
1 parent
8c16513
commit 1f54a6d
Showing
2 changed files
with
31 additions
and
8 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: gui | ||
|
||
on: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build: | ||
strategy: | ||
matrix: | ||
os: [ ubuntu, macos, windows ] | ||
build_type: [ Debug, Release ] | ||
|
||
runs-on: ${{matrix.os}}-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- if: matrix.os == 'ubuntu' | ||
name: Install Dependencies | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install -y xorg-dev freeglut3-dev | ||
- name: Configure CMake | ||
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{matrix.build_type}} -DPICROSS_BUILD_CLI=ON -DPICROSS_BUILD_GUI=ON | ||
|
||
- name: Build | ||
working-directory: ${{github.workspace}}/build | ||
run: cmake --build . --config ${{ matrix.build_type }} |