1
0
mirror of https://github.com/fafhrd91/actix-net synced 2024-11-23 21:51:06 +01:00

ci: fix nightly windows builds

This commit is contained in:
Rob Ede 2024-05-12 21:53:26 +01:00
parent af8e6cd656
commit 2632c984cc
No known key found for this signature in database
GPG Key ID: 97C636207D3EF933
2 changed files with 7 additions and 3 deletions

View File

@ -41,6 +41,10 @@ jobs:
if: matrix.target.os == 'ubuntu-latest' if: matrix.target.os == 'ubuntu-latest'
run: ./scripts/free-disk-space.sh run: ./scripts/free-disk-space.sh
- name: Install nasm
if: matrix.target.os == 'windows-latest'
uses: ilammy/setup-nasm@v1.5.1
- name: Install OpenSSL - name: Install OpenSSL
if: matrix.target.os == 'windows-latest' if: matrix.target.os == 'windows-latest'
shell: bash shell: bash

View File

@ -8,10 +8,10 @@ downgrade-for-msrv:
msrv := ``` msrv := ```
cargo metadata --format-version=1 \ cargo metadata --format-version=1 \
| jq -r 'first(.packages[] | select(.source == null and .name == "actix-tls")) | .rust_version' | jq -r 'first(.packages[] | select(.source == null and .name == "actix-tls")) | .rust_version' \
| sed -E 's/^1\.([0-9]{2})$/1\.\1\.0/'
``` ```
msrv_full := msrv + ".0" # comment out if the MSRV has a patch version specified msrv_rustup := "+" + msrv
msrv_rustup := "+" + msrv_full
non_linux_all_features_list := ``` non_linux_all_features_list := ```
cargo metadata --format-version=1 \ cargo metadata --format-version=1 \