Skip to content

Commit

Permalink
fixup! Add CI release pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
jacob-carlborg committed Mar 19, 2024
1 parent 332340c commit 71439aa
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/support/build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ runs:
DSTEP_RELEASE_PLATFORM
DSTEP_TARGET_TRIPLE
run: |
sudo pkg install -y git gnupg
sudo pkg install -y llvm git gnupg
./ci.sh ${{ inputs.action }}
- name: Set up QEMU
Expand All @@ -84,15 +84,20 @@ runs:
- name: Run Tests in Docker
if: inputs.docker
shell: bash
env:
DSTEP_LLVM_VERSION: ${{ inputs.llvm }}
DSTEP_COMPILER: ${{ inputs.compiler }}
DSTEP_RELEASE_PLATFORM: ${{ inputs.release_platform }}
DSTEP_TARGET_TRIPLE: ${{ inputs.target_triple }}
run: |
docker run \
--rm \
-v $(pwd):/${{ github.workspace }} \
-w ${{ github.workspace }} \
-e DSTEP_LLVM_VERSION="${{ inputs.llvm }}" \
-e DSTEP_COMPILER="${{ inputs.compiler }}" \
-e DSTEP_RELEASE_PLATFORM="${{ inputs.release_platform }}" \
-e DSTEP_TARGET_TRIPLE="${{ inputs.target_triple }}" \
-e DSTEP_LLVM_VERSION=${{ env.DSTEP_LLVM_VERSION }} \
-e DSTEP_COMPILER=${{ env.DSTEP_COMPILER }} \
-e DSTEP_RELEASE_PLATFORM=${{ env.DSTEP_RELEASE_PLATFORM }} \
-e DSTEP_TARGET_TRIPLE=${{ env.DSTEP_TARGET_TRIPLE }} \
--platform linux/${{ inputs.docker_arch || inputs.arch }} \
alpine:edge \
apk add --no-cache git curl bash && \
Expand Down

0 comments on commit 71439aa

Please sign in to comment.