From 9445eb7b82ce82dfc16a1dd61a740be1f35f97cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Kub=C3=ADk?= Date: Thu, 3 Oct 2024 23:09:24 +0200 Subject: [PATCH] ci(windows): install NASM to be able to build aws-ls-rs --- .github/workflows/release.yaml | 3 +++ .github/workflows/rust.yaml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index c22461e..a3e88a6 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -96,6 +96,9 @@ jobs: name: Set up toolchain - uses: Swatinem/rust-cache@v2 name: Cache toolchain and dependencies + - if: contains(matrix.os, 'windows') + uses: ilammy/setup-nasm@v1 + name: Install NASM - name: Build x86_64 Windows binaries run: | cargo build --release diff --git a/.github/workflows/rust.yaml b/.github/workflows/rust.yaml index ba0f6c7..5e115c2 100644 --- a/.github/workflows/rust.yaml +++ b/.github/workflows/rust.yaml @@ -19,6 +19,9 @@ jobs: name: Checkout repository - uses: dtolnay/rust-toolchain@stable name: Set up toolchain + - if: contains(matrix.os, 'windows') + uses: ilammy/setup-nasm@v1 + name: Install NASM - uses: taiki-e/install-action@cargo-llvm-cov name: Install cargo llvm-cov - uses: Swatinem/rust-cache@v2