Skip to content

Commit

Permalink
497: Remove steps related to Release builds & tests and also attachin…
Browse files Browse the repository at this point in the history
…g artefacts.

Signed-off-by: Deyan Zhekov <[email protected]>
  • Loading branch information
deyanzz committed Sep 8, 2023
1 parent e557f5e commit 5cebc8f
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions .github/workflows/zxc-build-library.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,15 +85,6 @@ jobs:
configurePreset: ${{ matrix.preset }}-debug
buildPreset: ${{ matrix.preset }}-debug

- name: CMake Build (Release)
if: ${{ github.event.inputs.branch-name }} == "main"
uses: lukka/run-cmake@v10
env:
VCPKG_BINARY_SOURCES: clear
with:
configurePreset: ${{ matrix.preset }}-release
buildPreset: ${{ matrix.preset }}-release

# - name: List Directory Structure
# if: ${{ contains(runner.os, 'Windows') && always() }}
# shell: pwsh
Expand All @@ -104,22 +95,10 @@ jobs:

- name: Start CTest suite (Debug)
run: ctest -C Debug --test-dir build/${{ matrix.preset }}-debug --output-on-failure

- name: Start CTest suite (Release)
if: ${{ github.event.inputs.branch-name }} == "main"
run: ctest -C Debug --test-dir build/${{ matrix.preset }}-release --output-on-failure

- name: Stop the local node
run: sudo npx @hashgraph/hedera-local stop

- name: Compute Short SHA
id: sha
run: echo "short=$(echo -n "${{ github.sha }}" | cut -c1-8)" >> $GITHUB_OUTPUT

- name: Attach Artifact
if: ${{ github.event.inputs.branch-name }} == "main"
uses: actions/upload-artifact@v3
with:
name: hapi-library-${{ runner.os }}-${{ steps.sha.outputs.short }}
path: package/
if-no-files-found: warn

0 comments on commit 5cebc8f

Please sign in to comment.