mirror of
https://github.com/isar/rusqlite.git
synced 2024-11-23 00:39:20 +08:00
Try to turn on x86_64-pc-windows-gnu
This commit is contained in:
parent
b079463bd2
commit
4abc8a4fdd
7
.github/workflows/main.yml
vendored
7
.github/workflows/main.yml
vendored
@ -20,10 +20,10 @@ jobs:
|
|||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
platform:
|
platform:
|
||||||
# - { target: x86_64-pc-windows-gnu, os: windows-latest }
|
|
||||||
- { target: x86_64-pc-windows-msvc, os: windows-latest }
|
- { target: x86_64-pc-windows-msvc, os: windows-latest }
|
||||||
- { target: x86_64-unknown-linux-gnu, os: ubuntu-latest }
|
- { target: x86_64-unknown-linux-gnu, os: ubuntu-latest }
|
||||||
- { target: x86_64-apple-darwin, os: macos-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 }}
|
runs-on: ${{ matrix.platform.os }}
|
||||||
|
|
||||||
@ -33,7 +33,7 @@ jobs:
|
|||||||
# we use actions-rs/toolchain.
|
# we use actions-rs/toolchain.
|
||||||
- uses: hecrj/setup-rust-action@v1
|
- uses: hecrj/setup-rust-action@v1
|
||||||
with:
|
with:
|
||||||
rust-version: stable
|
rust-version: stable${{ matrix.platform.host }}
|
||||||
targets: ${{ matrix.platform.target }}
|
targets: ${{ matrix.platform.target }}
|
||||||
|
|
||||||
- uses: actions-rs/cargo@v1
|
- uses: actions-rs/cargo@v1
|
||||||
@ -61,7 +61,8 @@ jobs:
|
|||||||
args: --features bundled-full --all-targets --workspace
|
args: --features bundled-full --all-targets --workspace
|
||||||
|
|
||||||
- name: Static build
|
- 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
|
shell: cmd
|
||||||
run: |
|
run: |
|
||||||
set RUSTFLAGS=-Ctarget-feature=+crt-static
|
set RUSTFLAGS=-Ctarget-feature=+crt-static
|
||||||
|
Loading…
Reference in New Issue
Block a user