26 lines
No EOL
660 B
YAML
26 lines
No EOL
660 B
YAML
name: Cargo Build Release
|
|
|
|
on:
|
|
push:
|
|
pull_request:
|
|
|
|
env:
|
|
CARGO_TERM_COLOR: always
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: windows-latest
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v4
|
|
- name: Update rust to nightly
|
|
run: rustup update nightly && rustup default nightly && rustup target add x86_64-pc-windows-gnu
|
|
- name: Check for errors
|
|
run: cargo check
|
|
- name: Build with release profile
|
|
run: cargo build --release
|
|
- name: Archive output from build
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: build
|
|
path: target/x86_64-pc-windows-gnu/release/*.dll |