Skip to content

Commit

Permalink
add windows to ci
Browse files Browse the repository at this point in the history
  • Loading branch information
oneElectron committed Nov 22, 2023
1 parent d13000b commit c50a63a
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/windows.latest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Windows-latest

on: [ push, pull_request ]

env:
CARGO_TERM_COLOR: always

jobs:
build:

runs-on: windows-latest

steps:
- uses: actions/checkout@v3
- name: Build
run: cargo build --verbose

- name: Run formatting checks
run: cargo fmt --all -- --check

- name: Run tests
run: cargo test --verbose --no-default-features -- --test-threads=1

- name: Run tests with updater
run: cargo test --verbose --no-default-features --features updater -- --test-threads=1
3 changes: 3 additions & 0 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,6 @@ codecov:
LLVM_PROFILE_FILE="your_name-%p-%m.profraw" RUSTFLAGS="-Cinstrument-coverage" cargo test -j 1 --all-features --profile codecov
grcov . -s . --binary-path ./target/debug/ -t html --branch --ignore-not-existing -o ./codecov
rm *.profraw

fmt:
cargo fmt --check

0 comments on commit c50a63a

Please sign in to comment.