Fix build on windows host (#484)

master
Oleksandr Anyshchenko 4 years ago committed by GitHub
parent 023dd07b1c
commit 154c23bc99
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      .github/workflows/rust.yml

@ -55,21 +55,16 @@ jobs:
test: test:
name: ${{ matrix.build }} name: ${{ matrix.build }}
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
continue-on-error: ${{ matrix.experimental }}
strategy: strategy:
fail-fast: false
matrix: matrix:
build: [Linux, macOS, Windows] build: [Linux, macOS, Windows]
include: include:
- build: Linux - build: Linux
os: ubuntu-latest os: ubuntu-latest
experimental: false
- build: macOS - build: macOS
os: macos-latest os: macos-latest
experimental: false
- build: Windows - build: Windows
os: windows-latest os: windows-latest
experimental: true
steps: steps:
- name: Checkout sources - name: Checkout sources
uses: actions/checkout@v2 uses: actions/checkout@v2
@ -82,6 +77,9 @@ jobs:
target: ${{ matrix.target }} target: ${{ matrix.target }}
profile: minimal profile: minimal
override: true override: true
- name: Remove msys64 # Workaround to resolve link error with C:\msys64\mingw64\bin\libclang.dll
if: runner.os == 'Windows'
run: Remove-Item -LiteralPath "C:\msys64\" -Force -Recurse
- name: Install dependencies - name: Install dependencies
if: runner.os == 'Windows' if: runner.os == 'Windows'
run: choco install llvm -y run: choco install llvm -y

Loading…
Cancel
Save