Skip to content

Create win-build.yml #1

Create win-build.yml

Create win-build.yml #1

Workflow file for this run

name: Build on Windows
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Build
- run: cargo build --release --verbose
- uses: actions/upload-artifact@v4
with:
name: Upload executable artifact
path: target/release/subboard-next-backend.exe
test:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Run tests
run: cargo test --release --verbose