Update winreg requirement from 0.51 to 0.52 #79
Workflow file for this run
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: CI | |
on: | |
pull_request: | |
push: | |
branches: | |
- master | |
tags: | |
- "v*.*.*" | |
jobs: | |
style: | |
name: Check Style | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install rust | |
uses: dtolnay/rust-toolchain@master | |
with: | |
toolchain: stable | |
components: rustfmt | |
- name: cargo fmt -- --check | |
run: cargo fmt --all -- --check | |
build: | |
name: Build | |
runs-on: windows-latest | |
strategy: | |
matrix: | |
include: | |
- target: i686-pc-windows-msvc | |
suffix: x86 | |
- target: x86_64-pc-windows-msvc | |
suffix: x64 | |
- target: aarch64-pc-windows-msvc | |
suffix: arm64 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install rust | |
uses: dtolnay/rust-toolchain@master | |
with: | |
toolchain: stable | |
target: ${{ matrix.target }} | |
- uses: Swatinem/rust-cache@v2 | |
- name: Build target | |
run: cargo build --release --target ${{ matrix.target }} | |
- name: Upload artifacts | |
uses: actions/upload-artifact@v3 | |
with: | |
name: rd_pipe-${{ matrix.suffix }} | |
path: | | |
./target/${{ matrix.target }}/release/*.dll* | |
./target/${{ matrix.target }}/release/*.pdb |