wrapper-rs/.github/main.yml

31 lines
502 B
YAML
Raw Normal View History

2024-01-25 21:24:03 +08:00
name: 顺手 build test 一下
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
strategy:
fail-fast: false
matrix:
2024-02-01 21:43:43 +08:00
os: [macos-latest, ubuntu-latest, windows-latest]
2024-01-25 21:24:03 +08:00
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