Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
gmh5225 committed Nov 11, 2024
1 parent 7ce3c67 commit d4ca55f
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: Windows Build

permissions:
contents: write

on: [push, pull_request]

env:
CARGO_TERM_COLOR: always

jobs:
build:
runs-on: windows-latest

steps:
- uses: actions/checkout@v3

- name: Install latest rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
default: true
override: true

- name: Build
run: cargo build --verbose

- name: Build release
run: cargo build --release --verbose

- name: Run tests
run: cargo test --verbose

- name: Check formatting
run: cargo fmt -- --check

- name: Run clippy
run: cargo clippy -- -D warnings

- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
name: query_gpu_name
path: target/release/query_gpu_name.exe

0 comments on commit d4ca55f

Please sign in to comment.