Skip to content

Commit

Permalink
feat: musl built linux bins / windows arm64 support
Browse files Browse the repository at this point in the history
  • Loading branch information
YOU54F committed Mar 14, 2024
1 parent 9901e20 commit 3f42076
Show file tree
Hide file tree
Showing 22 changed files with 758 additions and 449 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: plugins/csv/target/artifacts/*
file: plugins/csv/release_artifacts/*
file_glob: true
tag: ${{ github.ref }}
- if: startsWith(github.ref, 'refs/tags/pact-plugin-cli')
Expand All @@ -49,6 +49,6 @@ jobs:
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: cli/target/artifacts/*
file: cli/release_artifacts/*
file_glob: true
tag: ${{ github.ref }}
13 changes: 2 additions & 11 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,15 +63,6 @@ jobs:
curl -LO https://github.com/pact-foundation/pact-ruby-standalone/releases/download/v1.88.77/pact-1.88.77-linux-x86_64.tar.gz
tar xzf pact-1.88.77-linux-x86_64.tar.gz
VER=$(cargo metadata --no-deps --format-version 1 | jq -r '.packages[0].version')
pact/bin/pact-broker publish -a "$VER+$GITHUB_SHA" -b https://pact-foundation.pactflow.io -k ${{ secrets.PACTFLOW_TOKEN }} target/pacts
pact/bin/pact-broker publish -a "$VER+$GITHUB_SHA" -b https://saf.pactflow.io -k ${{ secrets.PACTFLOW_TOKEN }} target/pacts
working-directory: drivers/rust/driver_pact_tests
if: runner.os == 'Linux'

musl-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: |
docker run --rm -v $(pwd):/workspace -w /workspace/drivers/rust/driver -t \
-e 'RUST_LOG=trace' -e 'pact_do_not_track=true' pactfoundation/rust-musl-build \
-c ./musl-build.sh
if: runner.os == 'Linux'
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ build
target
pacts
*.out
release_artifacts

# Misc

Expand Down
Loading

0 comments on commit 3f42076

Please sign in to comment.