mirror of
https://github.com/Sarsoo/csbindgen.git
synced 2024-12-23 06:56:27 +00:00
28 lines
602 B
YAML
28 lines
602 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
|
|
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 |