From 4c76b9f2f30b0b92a521232e3a2dec71bf60c400 Mon Sep 17 00:00:00 2001 From: usagi-flow <2804556+usagi-flow@users.noreply.github.com> Date: Thu, 29 Aug 2024 17:32:45 +0200 Subject: [PATCH] feat(ci): support windows builds (attempt building on the windows runner) --- .github/workflows/evil-build-pr.yml | 2 ++ .github/workflows/evil-build-tag.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/evil-build-pr.yml b/.github/workflows/evil-build-pr.yml index 1d824d24..1b0fb9d2 100644 --- a/.github/workflows/evil-build-pr.yml +++ b/.github/workflows/evil-build-pr.yml @@ -58,12 +58,14 @@ jobs: shared-key: "build" - name: Build + shell: bash run: | rustup target add ${{ matrix.target.id }} cargo build --target ${{ matrix.target.id }} --profile $RUST_BUILD_PROFILE if: ${{ matrix.target.native }} - name: Build (cross) + shell: bash run: cross build --target ${{ matrix.target.id }} --profile $RUST_BUILD_PROFILE if: ${{ !matrix.target.native }} diff --git a/.github/workflows/evil-build-tag.yml b/.github/workflows/evil-build-tag.yml index eee28243..56d190b8 100644 --- a/.github/workflows/evil-build-tag.yml +++ b/.github/workflows/evil-build-tag.yml @@ -79,12 +79,14 @@ jobs: shared-key: "build" - name: Build + shell: bash run: | rustup target add ${{ matrix.target.id }} cargo build --target ${{ matrix.target.id }} --profile $RUST_BUILD_PROFILE if: ${{ matrix.target.native }} - name: Build (cross) + shell: bash run: cross build --target ${{ matrix.target.id }} --profile $RUST_BUILD_PROFILE if: ${{ !matrix.target.native }}