Skip to content

Commit

Permalink
ci(ld): output artifacts
Browse files Browse the repository at this point in the history
Signed-off-by: CrazyMax <[email protected]>
  • Loading branch information
crazy-max committed Jul 13, 2023
1 parent 358663d commit 92c6326
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/ld.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ on:
paths:
- 'src/ld/**'

env:
# needs latest for output platform-split support
BUILDKIT_IMAGE: "moby/buildkit:latest"

jobs:
binutils-targets:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -101,6 +105,8 @@ jobs:
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
with:
driver-opts: image=${{ env.BUILDKIT_IMAGE }}
-
name: Build
uses: docker/bake-action@v2
Expand All @@ -109,6 +115,11 @@ jobs:
set: |
*.cache-from=type=gha,scope=${{ matrix.target }}
*.cache-to=type=gha,scope=${{ matrix.target }}
*.output=type=local,dest=./dist,platform-split=false
-
name: List artifacts
run: |
tree -nh ./dist
ld-targets:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -147,6 +158,8 @@ jobs:
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
with:
driver-opts: image=${{ env.BUILDKIT_IMAGE }}
-
name: Build
uses: docker/bake-action@v2
Expand All @@ -155,3 +168,8 @@ jobs:
set: |
*.cache-from=type=gha,scope=${{ matrix.target }}
*.cache-to=type=gha,scope=${{ matrix.target }}
*.output=type=local,dest=./dist,platform-split=false
-
name: List artifacts
run: |
tree -nh ./dist

0 comments on commit 92c6326

Please sign in to comment.