File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change @@ -103,6 +103,42 @@ jobs:
103103 env :
104104 NEXTEST_RETRIES : 3
105105
106+ rust-windows :
107+ needs : meta
108+ runs-on : windows-latest
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+ - run : rustup target add x86_64-pc-windows-gnu && rustup default x86_64-pc-windows-gnu
121+ - name : Install nasm
122+ run : choco install nasm
123+ shell : cmd
124+ - name : Install protoc
125+ run : choco install protoc
126+ shell : cmd
127+ - name : Install LLVM and Clang
128+ uses : KyleMayes/install-llvm-action@6ba6e2cd3813def9879be378609d87cb3ef3bac3
129+ with :
130+ version : " 19.1.7"
131+ directory : ${{ runner.temp }}/llvm
132+ - name : Set LIBCLANG_PATH
133+ run : echo "LIBCLANG_PATH=$((gcm clang).source -replace "clang.exe")" >> $env:GITHUB_ENV
134+ - run : cargo fetch --locked
135+ - run : cargo fmt -- --check
136+ - run : cargo clippy --workspace --all-targets --frozen
137+ - run : cargo nextest run --workspace --frozen --exclude=linkerd2-proxy --no-run
138+ - run : cargo nextest run --workspace --frozen --exclude=linkerd2-proxy
139+ - env :
140+ NEXTEST_RETRIES : 3
141+
106142 rust-crates :
107143 needs : meta
108144 if : needs.meta.outputs.cargo_changed == 'true'
You can’t perform that action at this time.
0 commit comments