Fix Linux hook/unhook crashes #9
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: Test | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
workflow_dispatch: | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
linux-64-test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build | |
run: cargo build -r --verbose | |
- name: Run tests | |
run: cargo test -r --verbose -- --test-threads=1 | |
win-64-test: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build | |
run: cargo build -r --verbose | |
- name: Run tests | |
run: cargo test -r --verbose -- --test-threads=1 | |
linux-32-test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup 32-bit env | |
run: rustup target add i686-unknown-linux-musl | |
- name: Build | |
run: cargo build --target i686-unknown-linux-musl -r --verbose | |
- name: Run tests | |
run: cargo test --target i686-unknown-linux-musl -r --verbose -- --test-threads=1 | |
win-32-test: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup 32-bit env | |
run: rustup target add i686-pc-windows-msvc | |
- name: Build | |
run: cargo build --target i686-pc-windows-msvc -r --verbose | |
- name: Run tests | |
run: cargo test --target i686-pc-windows-msvc -r --verbose -- --test-threads=1 |