From 4b10acad2b8081b6e39d724ec92e3f6c4cd40404 Mon Sep 17 00:00:00 2001 From: gwenn Date: Tue, 18 Feb 2020 21:09:43 +0100 Subject: [PATCH 1/3] [ci skip] try a static build --- .github/workflows/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5d1ddeb..5a6e6aa 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -33,4 +33,5 @@ jobs: toolchain: stable override: true - run: cargo build --features bundled + - run: RUSTFLAGS="-Ctarget-feature=+crt-static" cargo build --features bundled - run: cargo test --features bundled From 39b49391cd37cf6075f8412d1a0fe8064ef32942 Mon Sep 17 00:00:00 2001 From: gwenn Date: Tue, 18 Feb 2020 21:17:37 +0100 Subject: [PATCH 2/3] [ci skip] try a static build --- .github/workflows/main.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5a6e6aa..6cb159b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -33,5 +33,10 @@ jobs: toolchain: stable override: true - run: cargo build --features bundled - - run: RUSTFLAGS="-Ctarget-feature=+crt-static" cargo build --features bundled - run: cargo test --features bundled + - name: Static build + if: matrix.os == 'windows-latest' + shell: cmd + run: | + set RUSTFLAGS=-Ctarget-feature=+crt-static + cargo build --features bundled From 0868d7d68d53f202c14718c446699d2dee39ad20 Mon Sep 17 00:00:00 2001 From: gwenn Date: Tue, 18 Feb 2020 21:21:31 +0100 Subject: [PATCH 3/3] [ci skip] try a static build --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 6cb159b..85c2704 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -35,7 +35,7 @@ jobs: - run: cargo build --features bundled - run: cargo test --features bundled - name: Static build - if: matrix.os == 'windows-latest' + if: matrix.platform.os == 'windows-latest' shell: cmd run: | set RUSTFLAGS=-Ctarget-feature=+crt-static