File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments