@@ -29,15 +29,15 @@ jobs:
2929 uses : dtolnay/rust-toolchain@nightly
3030
3131 - name : Install cargo-c (Ubuntu)
32- if : matrix .os == 'ubuntu-latest '
32+ if : runner .os == 'Linux '
3333 env :
3434 LINK : https://github.com/lu-zero/cargo-c/releases/latest/download
3535 CARGO_C_FILE : cargo-c-x86_64-unknown-linux-musl.tar.gz
3636 run : |
3737 curl -L $LINK/$CARGO_C_FILE | tar xz -C ~/.cargo/bin
3838
3939 - name : Install cargo-c (macOS)
40- if : matrix .os == 'macos-latest '
40+ if : runner .os == 'macOS '
4141 env :
4242 LINK : https://github.com/lu-zero/cargo-c/releases/latest/download
4343 CARGO_C_FILE : cargo-c-macos.zip
4646 unzip cargo-c-macos.zip -d ~/.cargo/bin
4747
4848 - name : Install cargo-c (Windows)
49- if : matrix .os == 'windows-latest '
49+ if : runner .os == 'Windows '
5050 env :
5151 LINK : https://github.com/lu-zero/cargo-c/releases/latest/download
5252 CARGO_C_FILE : cargo-c-windows-msvc.zip
@@ -57,15 +57,15 @@ jobs:
5757 - name : Setup cmake build
5858 run : |
5959 cmake ${{
60- matrix .os != 'windows-latest ' && '-DCMAKE_BUILD_TYPE=Release \' || ''
60+ runner .os != 'Windows ' && '-DCMAKE_BUILD_TYPE=Release \' || ''
6161 }} ${{
62- matrix .os == 'macos-latest ' && '-DCMAKE_OSX_DEPLOYMENT_TARGET=14.5' || ''
62+ runner .os == 'macOS ' && '-DCMAKE_OSX_DEPLOYMENT_TARGET=14.5' || ''
6363 }} -S librustls -B build
6464
6565 - name : Run platform-verifier connect test
6666 run : |
6767 cmake --build build --target connect-test ${{
68- matrix .os == 'windows-latest ' && '--config Release' || ''
68+ runner .os == 'Windows ' && '--config Release' || ''
6969 }}
7070
7171 ech :
@@ -85,15 +85,15 @@ jobs:
8585 uses : dtolnay/rust-toolchain@nightly
8686
8787 - name : Install cargo-c (Ubuntu)
88- if : matrix .os == 'ubuntu-latest '
88+ if : runner .os == 'Linux '
8989 env :
9090 LINK : https://github.com/lu-zero/cargo-c/releases/latest/download
9191 CARGO_C_FILE : cargo-c-x86_64-unknown-linux-musl.tar.gz
9292 run : |
9393 curl -L $LINK/$CARGO_C_FILE | tar xz -C ~/.cargo/bin
9494
9595 - name : Install cargo-c (macOS)
96- if : matrix .os == 'macos-latest '
96+ if : runner .os == 'macOS '
9797 env :
9898 LINK : https://github.com/lu-zero/cargo-c/releases/latest/download
9999 CARGO_C_FILE : cargo-c-macos.zip
@@ -102,7 +102,7 @@ jobs:
102102 unzip cargo-c-macos.zip -d ~/.cargo/bin
103103
104104 - name : Install cargo-c (Windows)
105- if : matrix .os == 'windows-latest '
105+ if : runner .os == 'Windows '
106106 env :
107107 LINK : https://github.com/lu-zero/cargo-c/releases/latest/download
108108 CARGO_C_FILE : cargo-c-windows-msvc.zip
@@ -113,17 +113,17 @@ jobs:
113113 - name : Setup cmake build
114114 run : |
115115 cmake ${{
116- matrix .os != 'windows-latest ' && '-DCMAKE_BUILD_TYPE=Release \' || ''
116+ runner .os != 'Windows ' && '-DCMAKE_BUILD_TYPE=Release \' || ''
117117 }} ${{
118- matrix .os == 'macos-latest ' && '-DCMAKE_OSX_DEPLOYMENT_TARGET=14.5' || ''
118+ runner .os == 'macOS ' && '-DCMAKE_OSX_DEPLOYMENT_TARGET=14.5' || ''
119119 }} -S librustls -B build
120120
121121 - name : Run ECH test
122122 # NOTE: uses bash as the shell to allow for easy no-powershell tee/grep pipeline.
123123 shell : bash
124124 run : |
125125 cmake --build build --target ech-test ${{
126- matrix .os == 'windows-latest ' && '--config Release' || ''
126+ runner .os == 'Windows ' && '--config Release' || ''
127127 }} | tee ech-test.log
128128
129129 - name : Verify ECH status
0 commit comments