Skip to content

Commit

Permalink
#11762: make relevant changes to fix post-commit build C++ workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ttmchiou committed Aug 26, 2024
1 parent f28eead commit 14e254d
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 1 deletion.
31 changes: 31 additions & 0 deletions .github/workflows/build-wrapper.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: "[post-commit] Build C++ binaries with all configs"

on:
workflow_call:
workflow_dispatch:

permissions:
actions: read
contents: read
pages: write
id-token: write
packages: write

jobs:
static-checks:
uses: ./.github/workflows/all-static-checks.yaml
secrets: inherit
build-docker-image-2004:
uses: ./.github/workflows/build-docker-artifact.yaml
secrets: inherit
with:
os: ubuntu-20.04-amd64
build-docker-image-2204:
uses: ./.github/workflows/build-docker-artifact.yaml
secrets: inherit
with:
os: ubuntu-22.04-amd64
build:
needs: [build-docker-image-2004, build-docker-image-2204]
uses: ./.github/workflows/build.yaml
secrets: inherit
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "[post-commit] Build C++ binaries with all configs"
name: "[internal] Build C++ binaries with all configs impl"

on:
workflow_dispatch:
Expand Down

0 comments on commit 14e254d

Please sign in to comment.