This commit is contained in:
parent
adc5a13592
commit
1bfd8666b8
1 changed files with 6 additions and 5 deletions
|
|
@ -11,15 +11,16 @@ jobs:
|
|||
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=1
|
||||
export RUSTFLAGS="-Ccodegen-units=1"
|
||||
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-linux-release
|
||||
path: target/release/
|
||||
name: bevy-santa-linux-release
|
||||
path: target/release/bevy-santa
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue