diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 15c7b8e..abc1b69 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -66,7 +66,19 @@ jobs: ARTIFACT_SUFFIX: ${{ contains(matrix.config.target, 'windows') && '.exe' || '' }} TAG: ${{ github.ref_type == 'tag' && github.ref_name || github.sha }} steps: + - name: Git config + if: runner.os == 'Windows' + run: git config --global core.autocrlf input - uses: actions/checkout@v4 + - name: Checkout submodule + run: git submodule update --init --recursive + - name: Install LLVM Windows + if: runner.os == 'Windows' + run: choco install llvm + - name: Setup LLVM path + if: runner.os == 'Windows' + run: | + echo "LIBCLANG_PATH=C:\Program Files\LLVM\bin" > $env:GITHUB_ENV - uses: actions/cache@v4 with: path: |