Skip to content

Commit

Permalink
[CI] skip build
Browse files Browse the repository at this point in the history
  • Loading branch information
clangenb committed Jan 22, 2025
1 parent fd25ab9 commit 0cdcd07
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ on:

env:
VERBOSE: ${{ github.events.input.verbose }}
# If we want to skip the build to test integration tests only/
# Note: We also need to update the job dependency in the tests.
SKIP_BUILD: true

# Cancel a currently running workflow from the same PR, branch or tag when a new workflow is
# triggered (ref https://stackoverflow.com/a/72408109)
Expand All @@ -26,6 +29,7 @@ concurrency:

jobs:
build_primary_binaries:
if: ${{ env.SKIP_BUILD == false }}
name: Primary build ${{ matrix.binary }} for ${{ matrix.rust-target }} on (${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
Expand Down Expand Up @@ -82,6 +86,7 @@ jobs:
uses: andymckay/cancel-action@0.2

create_artifacts:
if: ${{ env.SKIP_BUILD == false }}
needs: [ build_primary_binaries ]
runs-on: ubuntu-22.04
env:
Expand Down Expand Up @@ -130,7 +135,7 @@ jobs:
# name: ${{ matrix.test }}
name: integration-test
runs-on: ubuntu-22.04
needs: build_primary_binaries
# needs: build_primary_binaries
strategy:
fail-fast: false
matrix:
Expand Down

0 comments on commit 0cdcd07

Please sign in to comment.