Skip to content

Commit

Permalink
feat(ci): support windows builds (attempt building on the windows run…
Browse files Browse the repository at this point in the history
…ner)
  • Loading branch information
usagi-flow committed Aug 29, 2024
1 parent 6dca9e5 commit 4c76b9f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/evil-build-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/evil-build-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

Expand Down

0 comments on commit 4c76b9f

Please sign in to comment.