Merge pull request #6 from TotemArts/dinput8_fix #4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |