diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 718b880..d210e07 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -54,15 +54,15 @@ jobs: - name: Install dependencies for aws-lc-rs shell: bash run: | - # https://aws.github.io/aws-lc-rs/requirements/linux.html if [ "${{ matrix.os }}" = "windows-latest" ]; then winget install LLVM.LLVM echo 'LIBCLANG_PATH="C:\Program Files\LLVM\bin"' >> $GITHUB_ENV echo 'AWS_LC_SYS_PREBUILT_NASM=1' >> $GITHUB_ENV - else + cargo install --force --locked bindgen-cli + elif [ "${{ matrix.os }}" = "ubuntu-latest" ]; then sudo apt-get install -y build-essential cmake golang libclang1 libclang-dev + cargo install --force --locked bindgen-cli fi - cargo install --force --locked bindgen-cli - name: Build if: matrix.target != 'aarch64-apple-darwin'