Skip to content

Implement missing binding types #196

Implement missing binding types

Implement missing binding types #196

Workflow file for this run

on:
push:
branches:
- main
tags-ignore:
- '*'
pull_request:
branches:
- '*'
tags-ignore:
- '*'
name: Continuous Integration
jobs:
build:
name: Build [${{ matrix.renderer }} | ${{ matrix.config.name }}]
runs-on: ${{ matrix.config.os }}
strategy:
fail-fast: false
matrix:
renderer:
- OpenGL
config:
- { name: Linux (x86), os: ubuntu-latest, target: "x86_64-unknown-linux-gnu" }
- { name: Linux (ARM), os: ubuntu-24.04-arm, target: "aarch64-unknown-linux-gnu" }
- { name: MacOS (x86), os: macos-latest, target: "x86_64-apple-darwin" }
- { name: MacOS (ARM), os: macos-latest, target: "aarch64-apple-darwin" }
- { name: Windows (x86), os: windows-latest, target: "x86_64-pc-windows-msvc" }
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
targets: ${{ matrix.config.target }}
- name: Build Inox2D
run: cargo build -p inox2d --no-default-features --features owo --all-targets --target=${{ matrix.config.target }}
- name: Build Inox2D (OpenGL)
if: matrix.renderer == 'OpenGL'
run: cargo build -p inox2d-opengl --all-targets --target=${{ matrix.config.target }}
- name: Build Example (OpenGL)
if: matrix.renderer == 'OpenGL'
run: cargo build -p render-opengl --all-targets --target=${{ matrix.config.target }}
- name: Test Inox2D
run: cargo test --target=${{ matrix.config.target }}
build-webgl:
name: Build WebGL Example
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
config:
- os: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
targets: wasm32-unknown-unknown
- name: Build Inox2D
run: cargo build -p inox2d --no-default-features --features owo --all-targets --target=wasm32-unknown-unknown
- name: Build Inox2D (OpenGL)
if: matrix.renderer == 'OpenGL'
run: cargo build -p inox2d-opengl --all-targets --target=wasm32-unknown-unknown
- name: Build WebGL Example
run: cargo build -p render-webgl --target=wasm32-unknown-unknown