bevy-santa/.forgejo/workflows/build.yml
Crizomb 1bfd8666b8
Some checks failed
Build Bevy Game (Linux) / build (push) Failing after 3s
greedy for perf
2025-12-24 01:38:18 +01:00

26 lines
690 B
YAML

name: Build Bevy Game (Linux)
on:
push:
workflow_dispatch:
jobs:
build:
runs-on: docker
container:
image: git.rufous-trench.ts.net/crizomb/forgejo-action-rust-bevy:deb13-node20-2
steps:
- uses: actions/checkout@v4
- name: Some ugly apt install
run: sudo apt install lld
- name: Build Bevy game (release)
run: |
export CARGO_BUILD_JOBS=2
export RUSTFLAGS="-Ccodegen-units=4 -Cdebuginfo=0 -Clinker=lld"
cargo build --release
- name: Upload binary artifacts
uses: actions/upload-artifact@v3
with:
name: bevy-santa-linux-release
path: target/release/bevy-santa