From ebea1519c7de5bcfb7b711e16d272465a1f9369d Mon Sep 17 00:00:00 2001 From: Alex Clarke Date: Fri, 12 Sep 2025 20:26:48 -0600 Subject: [PATCH] fix: Install LLVM prereqs for release flow --- .github/workflows/release.yml | 24 ++++++++++++++++++++++++ CHANGELOG.md | 26 -------------------------- Cargo.lock | 2 +- Cargo.toml | 2 +- 4 files changed, 26 insertions(+), 28 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 789a54c..06bec74 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -236,6 +236,30 @@ jobs: aarch64-*-linux-*) sudo apt-get -y install gcc-aarch64-linux-gnu ;; esac + - name: Install LLVM/Clang for bindgen + if: matrix.job.os == 'ubuntu-latest' + run: | + sudo apt-get update + sudo apt-get install -y clang llvm-dev libclang-dev pkg-config + echo "LIBCLANG_PATH=$(llvm-config --libdir)" >> $GITHUB_ENV + + - name: Install LLVM/Clang for bindgen + if: matrix.job.os == 'macOS-latest' + run: | + brew update + brew install llvm + echo "LIBCLANG_PATH=$(brew --prefix llvm)/lib" >> $GITHUB_ENV + echo "LLVM_CONFIG_PATH=$(brew --prefix llvm)/bin/llvm-config" >> $GITHUB_ENV + + - name: Install LLVM (libclang) for bindgen + if: matrix.job.os == 'windows-latest' + shell: pwsh + run: | + choco install llvm -y + # libclang.dll lives in \bin; point bindgen at it + $llvm = "C:\Program Files\LLVM" + echo "LIBCLANG_PATH=$llvm\bin" | Out-File -FilePath $env:GITHUB_ENV -Append + - name: Install the bindgen-cli run: cargo install --force --locked bindgen-cli diff --git a/CHANGELOG.md b/CHANGELOG.md index dd953e6..421229d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,29 +10,3 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Other - Initial test release of the `gman` project. -## v0.0.2 (2025-09-12) - -### Fix - -- 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 diff --git a/Cargo.lock b/Cargo.lock index 59d59d6..fea18fc 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1576,7 +1576,7 @@ checksum = "0cc23270f6e1808e30a928bdc84dea0b9b4136a8bc82338574f23baf47bbd280" [[package]] name = "gman" -version = "0.1.0" +version = "0.0.3" dependencies = [ "anyhow", "argon2", diff --git a/Cargo.toml b/Cargo.toml index d80ffcd..7a996f9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "gman" -version = "0.1.0" +version = "0.0.3" edition = "2024" authors = ["Alex Clarke "] description = "Universal secret management and injection tool"