Test creating binaries via GitHub workflows

This commit is contained in:
Tobias Berger 2022-09-19 13:41:33 +02:00
parent a4fc8286b1
commit 5917b2642d
Signed by: toby
GPG key ID: 2D05EFAB764D6A88

28
.github/workflows/release.yaml vendored Normal file
View 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 }}