Skip to content

Commit

Permalink
More windows testing
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas-Avery committed Aug 8, 2024
1 parent 5e8f558 commit 2f41b0b
Showing 1 changed file with 5 additions and 16 deletions.
21 changes: 5 additions & 16 deletions .github/workflows/build-cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,30 +60,19 @@ jobs:
- name: Checkout repo
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4

- name: Install rust
uses: dtolnay/rust-toolchain@21dc36fb71dd22e3317045c0c31a3f4249868b17 # stable
with:
toolchain: stable
targets: ${{ matrix.settings.target }}

- name: Clang version
run: clang -v

- name: Upgrade LLVM
run: choco upgrade llvm

- name: Clang version
run: clang -v
- name: Cargo version
run: cargo --version

- name: Cache cargo registry
uses: Swatinem/rust-cache@23bce251a8cd2ffc3c1075eaa2367cf899916d84 # v2.7.3
with:
key: ${{ matrix.settings.target }}-cargo-${{ matrix.settings.os }}
- name: Add rust target
run: rustup target add ${{ matrix.settings.target }}

- name: Build
env:
TARGET: ${{ matrix.settings.target }}
run: cargo build ${{ matrix.features }} -p bws --release --target=${{ matrix.settings.target }}
run: cargo build -p bws --release --target=${{ matrix.settings.target }}

- name: Login to Azure
if: ${{ needs.setup.outputs.sign == 'true' }}
Expand Down

0 comments on commit 2f41b0b

Please sign in to comment.