feat(material): Implement initial skinned material #184
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Native | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
jobs: | |
build-native: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest, macos-latest] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: "8.0.x" | |
- name: Restore tools | |
run: dotnet tool restore | |
- name: Setup Node.js environment | |
uses: actions/[email protected] | |
- name: Setup Rust toolchain | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
- name: Install wasm-pack | |
run: npm install -g wasm-pack | |
- name: Install Dependencies | |
if: matrix.os == 'ubuntu-latest' | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y \ | |
libx11-dev \ | |
libxcursor-dev \ | |
libxrandr-dev \ | |
libxinerama-dev \ | |
libxi-dev \ | |
libgl1-mesa-dev \ | |
libglu1-mesa-dev \ | |
libglfw3 \ | |
libglfw3-dev | |
- name: Build F# | |
run: npm run build:examples:hello:rust | |
- name: Build Runtime | |
run: cargo build --features=strict | |
working-directory: runtime/functor-runtime-desktop | |
# Building the web bundle is necessary for the CLI, | |
# since the cli includes the web bundle for dev server | |
- name: Build runtime wasm bundle | |
run: wasm-pack build --target web | |
working-directory: runtime/functor-runtime-web | |
- name: Build CLI | |
run: cargo build | |
working-directory: cli | |
- name: Build Hello | |
run: cargo build | |
working-directory: examples/hello/build-native |