mirror of
https://github.com/doukutsu-rs/doukutsu-rs
synced 2024-11-21 21:22:44 +00:00
ci: fix windows targets
This commit is contained in:
parent
01ec93dd27
commit
94b9f930ce
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
|
@ -103,8 +103,8 @@ jobs:
|
||||||
cp -a ./target/${{ matrix.target }}/release/bundle/osx/doukutsu-rs.app release/doukutsu-rs.app
|
cp -a ./target/${{ matrix.target }}/release/bundle/osx/doukutsu-rs.app release/doukutsu-rs.app
|
||||||
codesign -s - -f ./release/doukutsu-rs.app/Contents/MacOS/doukutsu-rs
|
codesign -s - -f ./release/doukutsu-rs.app/Contents/MacOS/doukutsu-rs
|
||||||
elif [ "${{ runner.os }}" == "Windows" ]; then
|
elif [ "${{ runner.os }}" == "Windows" ]; then
|
||||||
CARGO_INCREMENTAL=1 cargo build --release --bin doukutsu-rs
|
CARGO_INCREMENTAL=1 cargo build --release --bin doukutsu-rs --target ${{ matrix.target }}
|
||||||
cp ./target/release/doukutsu-rs.exe release/doukutsu-rs.${{ matrix.arch_name }}.exe
|
cp ./target/${{ matrix.target }}/release/doukutsu-rs.exe release/doukutsu-rs.${{ matrix.arch_name }}.exe
|
||||||
elif [ "${{ runner.os }}" == "Linux" ]; then
|
elif [ "${{ runner.os }}" == "Linux" ]; then
|
||||||
RUSTFLAGS="-C link-args=-s" CARGO_INCREMENTAL=1 cargo build --release --bin doukutsu-rs
|
RUSTFLAGS="-C link-args=-s" CARGO_INCREMENTAL=1 cargo build --release --bin doukutsu-rs
|
||||||
cp -a ./target/release/doukutsu-rs release/doukutsu-rs.${{ matrix.arch_name }}.elf
|
cp -a ./target/release/doukutsu-rs release/doukutsu-rs.${{ matrix.arch_name }}.elf
|
||||||
|
|
Loading…
Reference in a new issue