From 3df3d3e3f32aa9b991e3284030d444f7121f0928 Mon Sep 17 00:00:00 2001 From: Justin Smith Date: Fri, 4 Oct 2024 14:00:19 -0400 Subject: [PATCH] Add testing --- .github/workflows/tests.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 805a2149dc3..5e1a82ec375 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -592,3 +592,33 @@ jobs: working-directory: ./aws-lc-rs # Rust doc tests dislike dynamic linking run: cargo careful test --tests --features fips,bindgen + + clang-19-bindgen: + if: github.repository_owner == 'aws' + name: Clang 19.1 + bindgen tests + runs-on: macos-14-xlarge + env: + LIBCLANG_PATH: /opt/homebrew/opt/llvm/lib + LLVM_CONFIG_PATH: /opt/homebrew/opt/llvm/llvm-config + steps: + - uses: actions/checkout@v4 + with: + submodules: 'recursive' + - uses: actions/setup-go@v4 + with: + go-version: '>=1.18' + - uses: dtolnay/rust-toolchain@master + id: toolchain + with: + toolchain: stable + - run: | + brew update + brew uninstall --force llvm + brew install llvm@19 + echo 'export PATH="/opt/homebrew/opt/llvm/bin:$PATH"' >> "$GITHUB_ENV" + - name: aws-lc-sys bindgen build + working-directory: ./aws-lc-sys + run: cargo test --features bindgen + - name: aws-lc-fips-sys bindgen build + working-directory: ./aws-lc-fips-sys + run: cargo test --features bindgen