Skip to content

Commit

Permalink
CI: Packaging github action
Browse files Browse the repository at this point in the history
  • Loading branch information
pierre-dejoue committed Aug 13, 2023
1 parent 2703c48 commit d35f36d
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/gui.yml → .github/workflows/packaging.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: gui
name: packaging

on:
workflow_dispatch:
Expand All @@ -20,7 +20,7 @@ jobs:
name: Install Dependencies
run: |
sudo apt-get update
sudo apt-get install -y xorg-dev freeglut3-dev
sudo apt-get install -y xorg-dev libgl1-mesa-dev
- name: Configure CMake
run: cmake -B ${{ github.workspace }}/build -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -DPICROSS_BUILD_CLI=ON -DPICROSS_BUILD_APP=ON
Expand All @@ -32,3 +32,14 @@ jobs:
- name: Version
working-directory: ${{ github.workspace }}/build
run: cmake --build . --target picross_cli_version --config ${{ matrix.build_type }}

- name: Install
working-directory: ${{ github.workspace }}/build
run: cmake --install . --config ${{ matrix.build_type }} --prefix install

- name: Upload
uses: actions/upload-artifact@v3
with:
name: package-${{ matrix.os }}-${{ matrix.build_type }}
path: ${{ github.workspace }}/build/install
retention-days: 6

0 comments on commit d35f36d

Please sign in to comment.