Skip to content

Commit

Permalink
Update rust.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
oberrich authored Dec 29, 2024
1 parent ce0bffc commit 3ea2b2c
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: "cargo"

on:
workflow_dispatch:
push:
branches: [ "master" ]
pull_request:
Expand All @@ -11,13 +12,19 @@ env:

jobs:
build:
runs-on: windows-latest
runs-on: windows-2025
strategy:
matrix:
target: [x86_64-pc-windows-msvc, i686-pc-windows-msvc, aarch64-pc-windows-msvc]
steps:
- uses: actions/checkout@v4
with: { submodules: recursive }
- name: Install Rust
uses: dtolnay/rust-toolchain@nightly
with:
targets: ${{ matrix.target }}
components: rustfmt
- name: Build
run: cargo build --verbose
run: cargo build -v -F regenerate --target ${{ matrix.target }}
- name: Run tests
run: cargo test --verbose

0 comments on commit 3ea2b2c

Please sign in to comment.