-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (29 loc) · 818 Bytes
/
Copy pathbuild.yml
File metadata and controls
36 lines (29 loc) · 818 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
28
29
30
31
32
33
34
35
36
name: Rust Build Win32
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
targets: i686-pc-windows-msvc
- name: Build
run: |
cargo build --release --target i686-pc-windows-msvc
cargo build --release --target i686-pc-windows-msvc --example omsilogger
- name: Upload Artifacts
uses: actions/upload-artifact@v4
with:
name: omsi2komsi-win32-binaries
path: |
target/i686-pc-windows-msvc/release/omsi2komsi.dll
target/i686-pc-windows-msvc/release/examples/omsilogger.dll