Skip to content

Commit

Permalink
Test ci
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterDing committed Oct 14, 2024
1 parent 67a9933 commit 33d95c7
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ jobs:
steps:
- uses: actions/checkout@v3

- if: contains(matrix.target, 'x86')
uses: ilammy/setup-nasm@v1

- name: Install Rust
uses: actions-rs/toolchain@v1
with:
Expand All @@ -48,6 +51,19 @@ jobs:

- uses: Swatinem/rust-cache@v1

- 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
sudo apt-get install -y build-essential cmake golang libclang1 libclang-dev
fi
cargo install --force --locked bindgen-cli
- name: Build
if: matrix.target != 'aarch64-apple-darwin'
run: cargo build --verbose
Expand Down

0 comments on commit 33d95c7

Please sign in to comment.