ci: Added additional targets and fixed typo in artifact upload

This commit is contained in:
2025-09-14 17:06:59 -06:00
parent ef0a687031
commit 68bc150d30
2 changed files with 25 additions and 50 deletions
+25 -18
View File
@@ -165,29 +165,31 @@ jobs:
- target: aarch64-unknown-linux-musl - target: aarch64-unknown-linux-musl
os: ubuntu-latest os: ubuntu-latest
use-cross: true use-cross: true
artifact-suffix: aarch64-musl cargo-flags: ""
- target: aarch64-unknown-linux-gnu
os: ubuntu-latest
use-cross: true
cargo-flags: "" cargo-flags: ""
- target: aarch64-apple-darwin - target: aarch64-apple-darwin
os: macos-latest os: macos-latest
use-cross: true use-cross: true
artifact-suffix: macos-arm64
cargo-flags: "" cargo-flags: ""
- target: aarch64-pc-windows-msvc - target: aarch64-pc-windows-msvc
os: windows-latest os: windows-latest
use-cross: true use-cross: true
artifact-suffix: windows-aarch64
cargo-flags: "" cargo-flags: ""
- target: x86_64-apple-darwin - target: x86_64-apple-darwin
os: macos-latest os: macos-latest
artifact-suffix: macos
cargo-flags: "" cargo-flags: ""
- target: x86_64-pc-windows-msvc - target: x86_64-pc-windows-msvc
os: windows-latest os: windows-latest
artifact-suffix: windows
cargo-flags: "" cargo-flags: ""
- target: x86_64-unknown-linux-musl - target: x86_64-unknown-linux-musl
os: ubuntu-latest os: ubuntu-latest
artifact-suffix: linux-musl use-cross: true
cargo-flags: ""
- target: x86_64-unknown-linux-gnu
os: ubuntu-latest
use-cross: true use-cross: true
cargo-flags: "" cargo-flags: ""
@@ -282,6 +284,22 @@ jobs:
shell: bash shell: bash
run: $BUILD_CMD build --locked --release --target=${{ matrix.target }} ${{ matrix.cargo-flags }} run: $BUILD_CMD build --locked --release --target=${{ matrix.target }} ${{ matrix.cargo-flags }}
- name: Verify file
shell: bash
run: |
file target/${{ matrix.target }}/release/gman
- name: Test
if: matrix.target != 'aarch64-apple-darwin' && matrix.target != 'aarch64-pc-windows-msvc'
shell: bash
run: |
set -euxo pipefail
if [[ "${{ matrix.use-cross || 'false' }}" == 'true' ]]; then
cross test --release --locked --target=${{ matrix.target }} --verbose
else
cargo test --release --locked --target=${{ matrix.target }} --verbose
fi
- name: Build Archive - name: Build Archive
shell: bash shell: bash
id: package id: package
@@ -320,17 +338,6 @@ jobs:
echo "sha=dist/$name.sha256" >> $GITHUB_OUTPUT echo "sha=dist/$name.sha256" >> $GITHUB_OUTPUT
fi fi
# - name: Test
# if: matrix.target != 'aarch64-apple-darwin' && matrix.target != 'aarch64-pc-windows-msvc'
# shell: bash
# run: |
# set -euxo pipefail
# if [[ "${{ matrix.use-cross || 'false' }}" == 'true' ]]; then
# cross test --release --locked --target=${{ matrix.target }} --verbose
# else
# cargo test --release --locked --target=${{ matrix.target }} --verbose
# fi
- name: Publish Archive - name: Publish Archive
if: env.ACT != 'true' if: env.ACT != 'true'
uses: softprops/action-gh-release@v2 uses: softprops/action-gh-release@v2
@@ -346,7 +353,7 @@ jobs:
- name: Add artifacts - name: Add artifacts
run: | run: |
mkdir -p artifacts [[ -d artifacts ]] || mkdir -p artifacts
cp ${{ steps.package.outputs.archive }} artifacts/ cp ${{ steps.package.outputs.archive }} artifacts/
cp ${{ steps.package.outputs.sha }} artifacts/ cp ${{ steps.package.outputs.sha }} artifacts/
-32
View File
@@ -8,35 +8,3 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [0.0.1] - 2025-09-10 ## [0.0.1] - 2025-09-10
### Other ### Other
## v0.0.3 (2025-09-14)
### Fix
- Revert back hacky stuff so I can test with act now
- Attempting to use pre-generated bindgens for the aws-lc-sys library
- Install openSSL differently to make this work
- Address edge case for unknown_musl targets
- Install LLVM prereqs for release flow
- Updated the release flow to install the external bindgen-cli
## v0.0.1 (2025-09-12)
### Feat
- Azure Key Vault support
- GCP Secret Manager support
- Full AWS SecretsManager support
- AWS Secrets Manager support
- Added two new flags to output where gman writes logs to and where it expects the config file to live
### Fix
- Made the vault file location more fault tolerant
- Attempting to maybe be a bit more explicit about config file handling to fix MacOS tests
### Refactor
- Refactor configuration structs directly into the provider definition to simplify validation, structs, and future extensions
- Made the creation of the log directories a bit more fault tolerant
- Renamed the provider field in a config file to type to make things a little easier to understand; also removed husky