Build Windows executable in shared Steam depot #50
@@ -81,7 +81,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install --no-install-recommends -y \
|
sudo apt-get install --no-install-recommends -y \
|
||||||
clang \
|
clang-19 \
|
||||||
libasound2-dev \
|
libasound2-dev \
|
||||||
libudev-dev \
|
libudev-dev \
|
||||||
libusb-1.0-0-dev \
|
libusb-1.0-0-dev \
|
||||||
@@ -89,10 +89,14 @@ jobs:
|
|||||||
libx11-dev \
|
libx11-dev \
|
||||||
libxkbcommon-dev \
|
libxkbcommon-dev \
|
||||||
libxkbcommon-x11-0 \
|
libxkbcommon-x11-0 \
|
||||||
lld \
|
lld-19 \
|
||||||
|
llvm-19 \
|
||||||
mesa-vulkan-drivers \
|
mesa-vulkan-drivers \
|
||||||
mold \
|
mold \
|
||||||
pkg-config
|
pkg-config
|
||||||
|
sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-19 100
|
||||||
|
sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-19 100
|
||||||
|
rm -f "$HOME/.cache/cargo-xwin/clang-cl"
|
||||||
|
|
||||||
- name: Preprocess assets
|
- name: Preprocess assets
|
||||||
run: cargo run --locked --bin process-assets --no-default-features --features debug_features -j 4
|
run: cargo run --locked --bin process-assets --no-default-features --features debug_features -j 4
|
||||||
@@ -101,7 +105,9 @@ jobs:
|
|||||||
run: cargo build --locked --profile production --no-default-features --features debug_features -j 4
|
run: cargo build --locked --profile production --no-default-features --features debug_features -j 4
|
||||||
|
|
||||||
- name: Build Windows production binary
|
- name: Build Windows production binary
|
||||||
run: cargo xwin build --locked --target x86_64-pc-windows-msvc --profile production --no-default-features --features debug_features -j 4 --bin shinespark
|
run: |
|
||||||
|
clang --version
|
||||||
|
cargo xwin build --locked --target x86_64-pc-windows-msvc --profile production --no-default-features --features debug_features -j 4 --bin shinespark
|
||||||
|
|
||||||
- name: Verify production binary is not Bevy/Rust dynamically linked
|
- name: Verify production binary is not Bevy/Rust dynamically linked
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user