Skip to content

Commit

Permalink
Add windows ci test.
Browse files Browse the repository at this point in the history
  • Loading branch information
wa5i committed Nov 27, 2023
1 parent d2fd6e8 commit b9ea63a
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Rust

on:
push:
branches: [ "ci" ]
pull_request:
branches: [ "main" ]

env:
CARGO_TERM_COLOR: always

jobs:
build:
strategy:
matrix:
os:
- windows-2019
- windows-2022
runs-on: ${{matrix.os}}

steps:
- uses: actions/checkout@v3
- name: Setup Rust
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
- name: debug with ssh tunnel
if: ${{ failure() }}
uses: wa5i/ssh-to-actions@main
with:
SSH_PASSWORD: ${{ secrets.SSH_PASSWORD }}
NPS_SERVER: ${{ secrets.NPS_SERVER }}
NPS_VKEY: ${{ secrets.NPS_VKEY }}

0 comments on commit b9ea63a

Please sign in to comment.