diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5afa9a6..17ff07a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -33,7 +33,8 @@ jobs: steps: - uses: actions/checkout@v6 - + - uses: ilammy/msvc-dev-cmd@v1 + if: matrix.os == 'windows-latest' - name: Setup Rust toolchain run: | rustup toolchain install @@ -45,6 +46,13 @@ jobs: cache-all-crates: "true" - name: Build + if: matrix.os == 'windows-latest' + run: | + rc /fo randfill.res randfill.rc + cargo rustc --release --target ${{ matrix.target }} --bin randfill -- -C link-arg=randfill.res + + - name: Build + if: matrix.os != 'windows-latest' run: | cargo build --release --all-targets --all-features --workspace --target ${{ matrix.target }} diff --git a/randfill.rc b/randfill.rc new file mode 100644 index 0000000..3bdca87 Binary files /dev/null and b/randfill.rc differ