-
Notifications
You must be signed in to change notification settings - Fork 2
39 lines (31 loc) · 954 Bytes
/
Windows.yml
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
37
38
39
name: Windows CI
on:
push:
branches: [ master ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
strategy:
matrix:
build: [win32, win64]
include:
- build: win32
os: windows-latest
host_target: i686-pc-windows-msvc
- build: win64
os: windows-latest
host_target: x86_64-pc-windows-msvc
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- run: rustup update --no-self-update && rustup +nightly target add ${{ matrix.host_target }}
- name: build
run: cargo +nightly build --target=${{ matrix.host_target }} --release
- name: Upload dinput8.dll
uses: actions/[email protected]
with:
# Artifact name
name: dinput8-${{ matrix.host_target }}
# A file, directory or wildcard pattern that describes what to upload
path: target/${{ matrix.host_target }}/release/dinput8.dll