Skip to content

Commit

Permalink
Generate via GH workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
justsmth committed Feb 2, 2024
1 parent d580a98 commit 2543f61
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/cc-toml-generator.yml
Original file line number Diff line number Diff line change
@@ -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 }}

0 comments on commit 2543f61

Please sign in to comment.