Use nightly rust; add missing deps; enable LFS on releases
This commit is contained in:
@@ -7,13 +7,13 @@ on:
|
||||
|
||||
env:
|
||||
# update with the name of the main binary
|
||||
binary: bevy_github_ci_template
|
||||
binary: bevy_gitea_ci_template
|
||||
add_binaries_to_github_release: true
|
||||
#itch_target: <itch.io-username>/<game-name>
|
||||
|
||||
# Before enabling LFS, please take a look at GitHub's documentation for costs and quota limits:
|
||||
# https://docs.github.com/en/repositories/working-with-files/managing-large-files/about-storage-and-bandwidth-usage
|
||||
use_git_lfs: false
|
||||
use_git_lfs: true
|
||||
|
||||
|
||||
jobs:
|
||||
@@ -28,7 +28,7 @@ jobs:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
lfs: ${{ env.use_git_lfs }}
|
||||
- uses: dtolnay/rust-toolchain@stable
|
||||
- uses: dtolnay/rust-toolchain@nightly
|
||||
with:
|
||||
targets: wasm32-unknown-unknown
|
||||
- name: install wasm-bindgen-cli
|
||||
@@ -76,12 +76,12 @@ jobs:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
lfs: ${{ env.use_git_lfs }}
|
||||
- uses: dtolnay/rust-toolchain@stable
|
||||
- uses: dtolnay/rust-toolchain@nightly
|
||||
with:
|
||||
targets: x86_64-unknown-linux-gnu
|
||||
- name: install dependencies
|
||||
run: |
|
||||
sudo apt-get update; sudo apt-get install pkg-config libx11-dev libasound2-dev libudev-dev libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev
|
||||
sudo apt-get update; sudo apt-get install pkg-config libx11-dev libasound2-dev libudev-dev libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev clang lld
|
||||
|
||||
- name: Build
|
||||
run: |
|
||||
@@ -125,7 +125,7 @@ jobs:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
lfs: ${{ env.use_git_lfs }}
|
||||
- uses: dtolnay/rust-toolchain@stable
|
||||
- uses: dtolnay/rust-toolchain@nightly
|
||||
with:
|
||||
targets: x86_64-pc-windows-msvc
|
||||
|
||||
@@ -171,7 +171,7 @@ jobs:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
lfs: ${{ env.use_git_lfs }}
|
||||
- uses: dtolnay/rust-toolchain@stable
|
||||
- uses: dtolnay/rust-toolchain@nightly
|
||||
with:
|
||||
targets: x86_64-apple-darwin
|
||||
- name: Environment Setup
|
||||
@@ -217,7 +217,7 @@ jobs:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
lfs: ${{ env.use_git_lfs }}
|
||||
- uses: dtolnay/rust-toolchain@stable
|
||||
- uses: dtolnay/rust-toolchain@nightly
|
||||
with:
|
||||
targets: aarch64-apple-darwin
|
||||
- name: Environment
|
||||
|
||||
Reference in New Issue
Block a user