diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bafc104c..a01ae074 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -77,3 +77,40 @@ jobs: - name: test run: | make -j$(getconf _NPROCESSORS_ONLN) CONFIG_WERROR=y CONFIG_UBSAN=y test + + windows-mingw: + runs-on: windows-latest + strategy: + fail-fast: false + matrix: + sys: + - mingw64 + - clang64 + - ucrt64 + defaults: + run: + shell: msys2 {0} + steps: + - uses: actions/checkout@v3 + with: + submodules: true + - name: Setup MSYS2 + uses: msys2/setup-msys2@v2 + with: + msystem: ${{matrix.sys}} + update: true + install: >- + git + make + pacboy: >- + toolchain:p + - name: build + run: | + make -j$(getconf _NPROCESSORS_ONLN) CONFIG_WERROR=y + - name: stats + run: | + make -j$(getconf _NPROCESSORS_ONLN) CONFIG_WERROR=y qjs + ./qjs -qd + - name: test + run: | + make -j$(getconf _NPROCESSORS_ONLN) CONFIG_WERROR=y test