Skip to content

Commit a57a6ee

Browse files
committed
fix: ci build with feature wgpu
1 parent ab62fc3 commit a57a6ee

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ jobs:
7171
# For normal cpu
7272
cargo build --release --features=wgpu
7373
mv target/release/gupaxx.exe .
74-
cargo build --release --features=bundle
74+
cargo build --release --features=bundle,wgpu
7575
mv target/release/gupaxx.exe gupaxx_b.exe
7676
tar -cf windows.tar gupaxx.exe gupaxx_b.exe
7777
fi

.github/workflows/debug_build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,13 @@ jobs:
4646
- name: Build
4747
run: |
4848
if [ "$RUNNER_OS" == "macOS" ]; then
49-
cargo bundle --target x86_64-apple-darwin
50-
cargo bundle --target aarch64-apple-darwin
49+
cargo bundle --features=wgpu --target x86_64-apple-darwin
50+
cargo bundle --features=wgpu --target aarch64-apple-darwin
5151
mv target/x86_64-apple-darwin/debug/bundle/osx/Gupaxx.app Gupaxx-debug-macos-x64.app
5252
mv target/aarch64-apple-darwin/debug/bundle/osx/Gupaxx.app Gupaxx-debug-macos-arm64.app
5353
tar -cf macos.tar Gupaxx-debug-macos-arm64.app Gupaxx-debug-macos-x64.app
5454
elif [ "$RUNNER_OS" == "Linux" ]; then
55-
cargo build --target x86_64-unknown-linux-gnu
55+
cargo build --target x86_64-unknown-linux-gnu --features=wgpu
5656
mv target/x86_64-unknown-linux-gnu/debug/gupaxx gupaxx-debug
5757
tar -cf linux.tar gupaxx-debug
5858
elif [ "$RUNNER_OS" == "Windows" ]; then

0 commit comments

Comments
 (0)