Skip to content

bindings_generation #39

bindings_generation

bindings_generation #39

Workflow file for this run

name: bindings_generation
on:
push:
paths:
- 'generator/**'
workflow_dispatch:
jobs:
wgpu-native:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]
with:
submodules: 'recursive'
- name: Setup Nim environment
uses: jiro4989/[email protected]
with:
nim-version: 'devel'
# Install rust to build wgpu-native
- name: Install rust
uses: actions-rs/[email protected]
with:
toolchain: stable
- name: Generate bindings
run: nimble generate_wgpu -y
- name: Update repository bindings
uses: EndBug/[email protected]
with:
add: 'src/nimgpu/*'
message: 'Automatic wgpu-native bindings update'
push: true
dawn:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]
with:
submodules: 'recursive'
- name: Setup Nim environment
uses: jiro4989/[email protected]
with:
nim-version: 'devel'
# Install depot tools to build dawn
- name: Install depot tools
uses: newkdev/[email protected]
- name: Generate bindings
run: nimble generate_dawn -y
- name: Update repository bindings
uses: EndBug/[email protected]
with:
add: 'src/nimgpu/*'
message: 'Automatic dawn bindings update'
push: true