-
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 6aedcd4
Showing
3 changed files
with
71 additions
and
46 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
name: build | ||
|
||
on: | ||
push: | ||
branches: [ "main" ] | ||
pull_request: | ||
branches: [ "main" ] | ||
|
||
env: | ||
BUILD_TYPE: Debug | ||
|
||
jobs: | ||
build: | ||
strategy: | ||
fail-fast: true | ||
matrix: | ||
os: [ ubuntu, macos, windows ] | ||
|
||
runs-on: ${{ matrix.os }}-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Configure CMake | ||
run: cmake -B ${{ github.workspace }}/build -DCMAKE_BUILD_TYPE=${{ env.BUILD_TYPE }} -DPICROSS_BUILD_CLI=ON -DPICROSS_BUILD_TESTS=ON | ||
|
||
- name: Build | ||
working-directory: ${{ github.workspace }}/build | ||
run: cmake --build . --config ${{ env.BUILD_TYPE }} | ||
|
||
- name: Version | ||
working-directory: ${{ github.workspace }}/build | ||
run: cmake --build . --target picross_cli_version --config ${{ env.BUILD_TYPE }} | ||
|
||
- name: Test stdutils | ||
working-directory: ${{ github.workspace }}/build | ||
run: cmake --build . --target run_utests_stdutils --config ${{ env.BUILD_TYPE }} | ||
|
||
- name: Test picross | ||
working-directory: ${{ github.workspace }}/build | ||
run: cmake --build . --target run_utests_picross --config ${{ env.BUILD_TYPE }} |
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,30 @@ | ||
name: gui | ||
|
||
on: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build: | ||
strategy: | ||
fail-fast: false | ||
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_APP=ON | ||
|
||
- name: Build | ||
working-directory: ${{ github.workspace }}/build | ||
run: cmake --build . --config ${{ matrix.build_type }} |
This file was deleted.
Oops, something went wrong.