wrapper-rs/.github/workflows/main.yml
2024-02-01 21:46:37 +08:00

31 lines
502 B
YAML

name: 顺手 build test 一下
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
strategy:
fail-fast: false
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Build
run: cargo build --verbose
- name: 好玩的
run: cargo run name
- name: Run tests
run: cargo test --verbose