-
-
Notifications
You must be signed in to change notification settings - Fork 2
27 lines (27 loc) · 734 Bytes
/
build.yml
File metadata and controls
27 lines (27 loc) · 734 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
name: Build
on:
workflow_dispatch:
push:
branches: ["main"]
pull_request:
branches: ["main"]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: 1.75.0
target: i686-pc-windows-msvc
- name: Build Client
run: cargo build --verbose --target i686-pc-windows-msvc
- name: Run tests
run: cargo test --verbose --target i686-pc-windows-msvc
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: ASI Plugin
path: "./target/i686-pc-windows-msvc/debug/pocket_relay_plugin.dll"