Skip to content

Commit

Permalink
Try skip msys2
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcrichton committed Mar 9, 2024
1 parent 95637d9 commit 128c294
Showing 1 changed file with 15 additions and 12 deletions.
27 changes: 15 additions & 12 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,19 +61,22 @@ jobs:
run: sudo apt install ninja-build
if: runner.os == 'Linux'
- name: Install build deps and setup msys2 (Windows)
uses: msys2/setup-msys2@v2
with:
install: >-
base-devel
git
mingw-w64-${{ matrix.msys_clang }}-cmake
mingw-w64-${{ matrix.msys_clang }}-ninja
mingw-w64-${{ matrix.msys_clang }}-toolchain
msystem: ${{ matrix.msystem }}
update: true
release: false
path-type: inherit
run: choco install ninja
if: runner.os == 'Windows'
# - name: Install build deps and setup msys2 (Windows)
# uses: msys2/setup-msys2@v2
# with:
# install: >-
# base-devel
# git
# mingw-w64-${{ matrix.msys_clang }}-cmake
# mingw-w64-${{ matrix.msys_clang }}-ninja
# mingw-w64-${{ matrix.msys_clang }}-toolchain
# msystem: ${{ matrix.msystem }}
# update: true
# release: false
# path-type: inherit
# if: runner.os == 'Windows'
- name: Build
run: NINJA_FLAGS=-v make package LLVM_CMAKE_FLAGS="-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache"
shell: bash
Expand Down

0 comments on commit 128c294

Please sign in to comment.