File tree Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change @@ -103,6 +103,43 @@ jobs:
103
103
env :
104
104
NEXTEST_RETRIES : 3
105
105
106
+ rust-windows :
107
+ needs : meta
108
+ runs-on : windows-2022
109
+ permissions :
110
+ contents : read
111
+ timeout-minutes : 20
112
+ steps :
113
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
114
+ - name : Install Rust (rustup)
115
+ run : rustup update stable --no-self-update && rustup default stable
116
+ shell : bash
117
+ - name : Install nextest
118
+ run : curl -LsSf https://get.nexte.st/latest/windows-tar | tar zxf - -C ${CARGO_HOME:-~/.cargo}/bin
119
+ shell : bash
120
+ - name : Add windows target
121
+ run : rustup target add x86_64-pc-windows-gnu
122
+ - name : Install nasm
123
+ run : choco install nasm
124
+ shell : cmd
125
+ - name : Install protoc
126
+ run : choco install protoc
127
+ shell : cmd
128
+ - name : Install LLVM and Clang
129
+ uses : KyleMayes/install-llvm-action@6ba6e2cd3813def9879be378609d87cb3ef3bac3
130
+ with :
131
+ version : " 19.1.7"
132
+ directory : ${{ runner.temp }}/llvm
133
+ - name : Set LIBCLANG_PATH
134
+ run : echo "LIBCLANG_PATH=$((gcm clang).source -replace "clang.exe")" >> $env:GITHUB_ENV
135
+ - run : cargo fetch --locked
136
+ - run : cargo fmt -- --check
137
+ - run : cargo clippy --target=x86_64-pc-windows-gnu --workspace --all-targets --frozen
138
+ - run : cargo nextest run --target=x86_64-pc-windows-gnu --workspace --frozen --exclude=linkerd2-proxy --no-run
139
+ - run : cargo nextest run --target=x86_64-pc-windows-gnu --workspace --frozen --exclude=linkerd2-proxy
140
+ env :
141
+ NEXTEST_RETRIES : 3
142
+
106
143
rust-crates :
107
144
needs : meta
108
145
if : needs.meta.outputs.cargo_changed == 'true'
You can’t perform that action at this time.
0 commit comments