Test creating binaries via GitHub workflows
This commit is contained in:
parent
a4fc8286b1
commit
5917b2642d
1 changed files with 28 additions and 0 deletions
28
.github/workflows/release.yaml
vendored
Normal file
28
.github/workflows/release.yaml
vendored
Normal file
|
@ -0,0 +1,28 @@
|
|||
---
|
||||
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 }}
|
Loading…
Reference in a new issue