default shell: bash
Signed-off-by: Zahari Dichev <zaharidichev@gmail.com>
This commit is contained in:
parent
6857c0eea0
commit
5752c9cbf2
|
|
@ -109,29 +109,28 @@ jobs:
|
|||
permissions:
|
||||
contents: read
|
||||
timeout-minutes: 20
|
||||
defaults:
|
||||
run:
|
||||
shell: bash
|
||||
steps:
|
||||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
|
||||
- name: Install Rust (rustup)
|
||||
run: rustup update stable --no-self-update && rustup default stable
|
||||
shell: bash
|
||||
- name: Install nextest
|
||||
run: curl -LsSf https://get.nexte.st/latest/windows-tar | tar zxf - -C "$CARGO_HOME"/bin
|
||||
shell: bash
|
||||
- name: Add windows target
|
||||
run: rustup target add x86_64-pc-windows-gnu
|
||||
- name: Install nasm
|
||||
run: choco install nasm
|
||||
shell: cmd
|
||||
- name: Install protoc
|
||||
run: choco install protoc
|
||||
shell: cmd
|
||||
- name: Install LLVM and Clang
|
||||
uses: KyleMayes/install-llvm-action@6ba6e2cd3813def9879be378609d87cb3ef3bac3
|
||||
with:
|
||||
version: "19.1.7"
|
||||
directory: ${{ runner.temp }}/llvm
|
||||
- name: Set LIBCLANG_PATH
|
||||
run: echo "LIBCLANG_PATH=$((gcm clang).source -replace "clang.exe")" >> $env:GITHUB_ENV
|
||||
run: echo "LIBCLANG_PATH=$((gcm clang).source -replace "clang.exe")" >> "$GITHUB_ENV"
|
||||
- run: cargo fetch --locked
|
||||
- run: cargo fmt -- --check
|
||||
- run: cargo clippy --target=x86_64-pc-windows-gnu --workspace --all-targets --frozen
|
||||
|
|
|
|||
Loading…
Reference in New Issue