28 lines
643 B
YAML
28 lines
643 B
YAML
---
|
|
name: pre-release
|
|
on:
|
|
push:
|
|
branches:
|
|
- "main"
|
|
|
|
jobs:
|
|
pre-release:
|
|
name: "Pre-release"
|
|
strategy:
|
|
matrix:
|
|
os: [windows-2022, ubuntu-22.04, macos-12]
|
|
features: ["debug,render", render, "debug", ""]
|
|
runs-on: ${{ matrix.os }}
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v3
|
|
- name: Install rust toolchain
|
|
uses: actions-rs/toolchain@v1
|
|
with:
|
|
profile: minimal
|
|
toolchain: nightly
|
|
override: true
|
|
|
|
- name: Build binary
|
|
run: |
|
|
cargo build --release --no-default-features --features=${{ matrix.features }}
|