aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/msys2.yml
blob: dc7f114bf62e2c7c3b3c7027b8c70836c4503dcd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
name: MSYS2 build
on: [push, pull_request]

jobs:
  build:
    runs-on: windows-latest
    defaults:
      run:
        shell: msys2 {0}
    steps:
      - uses: actions/checkout@v3
      - uses: msys2/setup-msys2@v2
        with:
          msystem: MINGW64
          update: true
          install: git mingw-w64-x86_64-cc mingw-w64-x86_64-autotools
      - name: bootstrap
        run: ./bootstrap.sh
      - name: Build
        # GCC on MSYS2 doesn't have ASAN support (but Clang does).
        run: ./.private/ci-build.sh --build-dir build-msys2 --no-asan
      - name: Build with logging disabled
        run: ./.private/ci-build.sh --build-dir build-msys2-nolog --no-asan -- --disable-log