From 8333382fa82f3b20f3f024d080282335bb610ef6 Mon Sep 17 00:00:00 2001 From: Yuri Astrakhan Date: Fri, 29 Sep 2023 20:49:22 -0400 Subject: [PATCH] wip --- .github/workflows/ci.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0a469a6ac..a988c58b8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -74,6 +74,12 @@ jobs: cargo install cargo-deb cargo deb -v -p martin --output target/debian/debian-x86_64.deb mv target/debian/debian-x86_64.deb target_releases + elif [[ "${{ runner.os }}" == "windows" ]]; then + export RUSTFLAGS='-C strip=debuginfo' + cargo build --release --target ${{ matrix.target }} --package martin-mbtiles + mv target/${{ matrix.target }}/release/mbtiles${{ matrix.ext }} target_releases + cargo build --release --target ${{ matrix.target }} --package martin --features=ssl + mv target/${{ matrix.target }}/release/martin${{ matrix.ext }} target_releases else rustup target add "${{ matrix.target }}" export RUSTFLAGS='-C strip=debuginfo'