Skip to content

prepare 0.5.1

prepare 0.5.1 #27

# create binary on windows
name: Build Binaries
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
# ---------------------------------------------------------------------------
build-on-ubuntu:
runs-on: ubuntu-latest
steps:
- name: Checkout project
uses: actions/checkout@v4
- name: Display cargo version
run: cargo --version
- name: Try to Build
run: cargo build --verbose --release
# Release version is supposed to have a faster runtime than debug
# - name: Upload windows binaries release
# uses: actions/upload-artifact@v4
# with:
# name: windows_binaries
# path: target/release/panduza-rust-platform.exe
# ---------------------------------------------------------------------------
build-on-ubuntu-builtin:
runs-on: ubuntu-latest
steps:
- name: Checkout project
uses: actions/checkout@v4
- name: Display cargo version
run: cargo --version
- name: Try to Build
run: cargo build --features built-in-drivers --verbose --release
# Release version is supposed to have a faster runtime than debug
# - name: Upload windows binaries release
# uses: actions/upload-artifact@v4
# with:
# name: windows_binaries
# path: target/release/panduza-rust-platform.exe
# ---------------------------------------------------------------------------
build-on-windows:
runs-on: windows-latest
steps:
- name: Checkout project
uses: actions/checkout@v4
- name: Display cargo version
run: cargo --version
- name: Try to Build
run: cargo build --verbose --release
# ---------------------------------------------------------------------------
build-on-windows-builtin:
runs-on: windows-latest
steps:
- name: Checkout project
uses: actions/checkout@v4
- name: Display cargo version
run: cargo --version
- name: Try to Build
run: cargo build --features built-in-drivers --verbose --release
# Release version is supposed to have a faster runtime than debug
- name: Upload windows binaries release
uses: actions/upload-artifact@v4
with:
name: windows_binaries
path: target/release/panduza-rust-platform.exe