Skip to content

Commit

Permalink
use cmake composite action for linux builds
Browse files Browse the repository at this point in the history
  • Loading branch information
qrkourier committed Jul 17, 2023
1 parent 0b19b9b commit 4b65cf4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 12 deletions.
6 changes: 3 additions & 3 deletions .github/actions/build/action.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: Reusable build
description: Reusable CMake build for non-Linux OS
name: CMake build
description: CMake Composite Action

inputs:
preset:
required: true
description: build preset, e.g, windows-arm64
description: vcpkg build preset, e.g, windows-arm64

config:
default: Release
Expand Down
10 changes: 1 addition & 9 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,15 +59,7 @@ jobs:
with:
fetch-depth: 0

- name: Run CMake for Linux
if: ${{ matrix.container != null }}
run: |
./ziti-builder.sh \
-p "ci-${{ matrix.preset }}" \
-t bundle
- name: Run CMake for non-Linux platforms
if: ${{ matrix.container == null }}
- name: Run CMake Composite Action
uses: ./.github/actions/build
with:
preset: ${{ matrix.preset }}
Expand Down

0 comments on commit 4b65cf4

Please sign in to comment.