Skip to content

ci: print env var

ci: print env var #52

Workflow file for this run

on:
push:
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
env:
CARGO_INCREMENTAL: 0
RUST_TEST_THREADS: 1
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-2022, windows-2019]
target:
[x86_64-pc-windows-msvc, i686-pc-windows-msvc, x86_64-pc-windows-gnu]
channel: [nightly]
include:
- target: i686-pc-windows-gnu
channel: 1.60.0
os: windows-2022
env:
SCHANNEL_SKIP_TLS_13_TEST: ${{ matrix.os == 'windows-2019' && '1' || '0' }}
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.channel }}
target: ${{ matrix.target }}
- if: matrix.target == 'i686-pc-windows-gnu'
uses: MinoruSekine/setup-scoop@main
- shell: cmd
run: echo %SCHANNEL_SKIP_TLS_13_TEST%
- if: matrix.target == 'i686-pc-windows-gnu'
run: |
scoop install -a 32bit mingw
Join-Path (Resolve-Path ~).Path "scoop\apps\mingw\current\bin" >> $env:GITHUB_PATH
- shell: cmd
run: ./update_test_cert.bat
- run: cargo +${{ matrix.channel }} build --tests --target ${{ matrix.target }}
- run: cargo +${{ matrix.channel }} test --target ${{ matrix.target }}