Bump serde from 1.0.201 to 1.0.203 #177
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: Build | |
on: | |
push: | |
branches: ["main"] | |
paths: | |
- "Cargo.toml" | |
- "Cargo.lock" | |
- "src/**" | |
- ".github/workflows/build.yml" | |
pull_request: | |
branches: ["main"] | |
paths: | |
- "Cargo.toml" | |
- "Cargo.lock" | |
- "src/**" | |
- ".github/workflows/build.yml" | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: nightly | |
- uses: Swatinem/rust-cache@v2 | |
- name: Install linux build deps | |
if: matrix.os == 'ubuntu-latest' | |
run: | | |
sudo apt install libxi-dev | |
sudo apt install libxtst-dev | |
- name: Build | |
run: cargo build --release | |
- name: Upload artifact (win) | |
uses: actions/upload-artifact@v4 | |
if: matrix.os == 'windows-latest' | |
with: | |
name: dfint_hook.dll | |
path: ./target/release/dfint_hook.dll | |
- name: Upload artifact (linux) | |
uses: actions/upload-artifact@v4 | |
if: matrix.os == 'ubuntu-latest' | |
with: | |
name: libdfint_hook.so | |
path: ./target/release/libdfint_hook.so |