From 2543f61001beb036882065de19d2a0210438307b Mon Sep 17 00:00:00 2001 From: Justin W Smith <103147162+justsmth@users.noreply.github.com> Date: Fri, 2 Feb 2024 09:54:28 -0500 Subject: [PATCH] Generate via GH workflow --- .github/workflows/cc-toml-generator.yml | 32 +++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/cc-toml-generator.yml diff --git a/.github/workflows/cc-toml-generator.yml b/.github/workflows/cc-toml-generator.yml new file mode 100644 index 00000000000..a3f6a2c9a67 --- /dev/null +++ b/.github/workflows/cc-toml-generator.yml @@ -0,0 +1,32 @@ +name: Auto-generate CC Build TOML + +on: + push: + branches: + - 'generate/aws-lc-sys*' + +jobs: + generate-and-commit: + runs-on: ${{ matrix.os }} + strategy: + fail-fast: false + matrix: + os: [ ubuntu-latest, macos-12, macos-13-xlarge ] + steps: + - uses: actions/checkout@v3 + with: + submodules: 'recursive' + - uses: dtolnay/rust-toolchain@master + id: toolchain + with: + toolchain: ${{ matrix.rust }} + - name: Set Rust toolchain override + run: rustup override set ${{ steps.toolchain.outputs.name }} + - name: Run Generate Scripts + run: | + ./scripts/build/generate_build_toml.sh + - name: Commit and Push Changes + uses: stefanzweifel/git-auto-commit-action@v5 + with: + commit_message: "CC Build TOML: Linux x86" + branch: ${{ github.ref }}