Skip to content

Commit

Permalink
Update CI to do parallel builds
Browse files Browse the repository at this point in the history
Signed-off-by: Ivan Sim <[email protected]>
  • Loading branch information
ihcsim committed May 26, 2024
1 parent 1421a04 commit 0ec4d4b
Showing 1 changed file with 26 additions and 2 deletions.
28 changes: 26 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,13 @@ on:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

permissions:
contents: read
pull-requests: read

jobs:
build:
prebuild:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -17,4 +22,23 @@ jobs:
version: v1.58
- run: make codegen-verify
- run: make test
- run: make build
- uses: actions/upload-artifact@v4
with:
name: build
path: ${{ github.workspace }}

controller:
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v4
with:
name: build
- run: make controller

plugin:
runs-on: ubuntu-latest
- uses: actions/download-artifact@v4
with:
name: build
steps:
- run: make plugin

0 comments on commit 0ec4d4b

Please sign in to comment.