csbindgen/.github/workflows/build-debug.yml
2023-08-31 00:53:38 +08:00

29 lines
626 B
YAML

name: Build-Debug
on:
workflow_dispatch:
push:
branches:
- "main"
pull_request:
branches:
- "main"
jobs:
build-rust:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v3
- run: cargo build --verbose
- run: cargo test update_package_version -- 1.0.0 --nocapture
- run: cargo test
build-dotnet:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v3
- uses: Cysharp/Actions/.github/actions/setup-dotnet@main
with:
dotnet-version: 7.0.x
- run: dotnet build -c Debug