Skip to content

Add static event test/sample for WinRT #1798

Add static event test/sample for WinRT

Add static event test/sample for WinRT #1798

Workflow file for this run

name: gen
on:
pull_request:
paths-ignore:
- '.github/ISSUE_TEMPLATE/**'
- 'web/**'
push:
paths-ignore:
- '.github/ISSUE_TEMPLATE/**'
- 'web/**'
branches:
- master
jobs:
check:
name: tool_${{ matrix.tool }}
runs-on: ubuntu-latest
strategy:
matrix:
tool: [bindgen, bindings, yml, license, standalone]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Update toolchain
run: rustup update --no-self-update stable && rustup default stable
- name: Run
run: cargo run -p tool_${{ matrix.tool }} --release
- name: Check
shell: bash
run: |
git add -N .
git diff --exit-code || (echo '::error::Generated `tool_${{ matrix.tool }}` is out-of-date. Please run `cargo run -p tool_${{ matrix.tool }}`'; exit 1)