Skip to content

Commit

Permalink
Merge build steps duplicated for Linux.
Browse files Browse the repository at this point in the history
  • Loading branch information
kitlith committed Jul 2, 2023
1 parent b276a87 commit bb68931
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,34 +35,12 @@ jobs:

- name: CMake+vcpkg configure
run: cmake -S . -B build -DCMAKE_BUILD_TYPE=RelWithDebInfo
shell: cmd
if: runner.os == 'Windows'

- name: Build
run: cmake --build build --config RelWithDebInfo
shell: cmd
if: runner.os == 'Windows'

# - name: List $RUNNER_WORKSPACE after build
# run: find $RUNNER_WORKSPACE
# shell: bash

- name: Package
run: cmake --build build --target package --config RelWithDebInfo
shell: cmd
if: runner.os == 'Windows'

- name: CMake + vcpkg configure (Linux)
run: cmake -S . -B build -DCMAKE_BUILD_TYPE=RelWithDebInfo
if: runner.os == 'Linux'

- name: Build (Linux)
run: cmake --build build --config RelWithDebInfo
if: runner.os == 'Linux'

- name: Package (Linux)
run: cmake --build build --target package --config RelWithDebInfo
if: runner.os == 'Linux'

- name: Get package path for Artifact
run: echo "artifactPath=$(realpath build/_CPack_Packages/*/ZIP/SlimeVR-Feeder-App-*/ --relative-to .)" >> $GITHUB_ENV
Expand Down

0 comments on commit bb68931

Please sign in to comment.