wrapper-rs/.github/main.yml

32 lines
533 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-01-25 21:32:23 +08:00
# os: [macos-latest, ubuntu-latest, windows-latest]
os: [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