Skip to content

Commit

Permalink
Try to turn on x86_64-pc-windows-gnu
Browse files Browse the repository at this point in the history
  • Loading branch information
Thom Chiovoloni authored and thomcc committed Apr 16, 2020
1 parent b079463 commit 4abc8a4
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ jobs:

matrix:
platform:
# - { target: x86_64-pc-windows-gnu, os: windows-latest }
- { target: x86_64-pc-windows-msvc, os: windows-latest }
- { target: x86_64-unknown-linux-gnu, os: ubuntu-latest }
- { target: x86_64-apple-darwin, os: macos-latest }
- { target: x86_64-pc-windows-gnu, os: windows-latest, host: -x86_64-pc-windows-gnu }

runs-on: ${{ matrix.platform.os }}

Expand All @@ -33,7 +33,7 @@ jobs:
# we use actions-rs/toolchain.
- uses: hecrj/setup-rust-action@v1
with:
rust-version: stable
rust-version: stable${{ matrix.platform.host }}
targets: ${{ matrix.platform.target }}

- uses: actions-rs/cargo@v1
Expand Down Expand Up @@ -61,7 +61,8 @@ jobs:
args: --features bundled-full --all-targets --workspace

- name: Static build
if: matrix.platform.os == 'windows-latest'
# Do we expect this to work / should we test with gnu toolchain?
if: matrix.platform.os == 'x86_64-pc-windows-msvc'
shell: cmd
run: |
set RUSTFLAGS=-Ctarget-feature=+crt-static
Expand Down

0 comments on commit 4abc8a4

Please sign in to comment.