From 94b9f930ce62e2b19b3597931dd1eb8c50bd5205 Mon Sep 17 00:00:00 2001 From: Laura K <6276139+alula@users.noreply.github.com> Date: Sat, 27 Apr 2024 00:24:32 +0200 Subject: [PATCH] ci: fix windows targets --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0ad4454..842d30c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -103,8 +103,8 @@ jobs: 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 elif [ "${{ runner.os }}" == "Windows" ]; then - CARGO_INCREMENTAL=1 cargo build --release --bin doukutsu-rs - cp ./target/release/doukutsu-rs.exe release/doukutsu-rs.${{ matrix.arch_name }}.exe + CARGO_INCREMENTAL=1 cargo build --release --bin doukutsu-rs --target ${{ matrix.target }} + cp ./target/${{ matrix.target }}/release/doukutsu-rs.exe release/doukutsu-rs.${{ matrix.arch_name }}.exe elif [ "${{ runner.os }}" == "Linux" ]; then 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