From 04ddc59966eafaf0a35982d052ac9ac1e4e93bd1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bastian=20M=C3=BCller?= Date: Mon, 24 Jul 2023 22:06:15 -0700 Subject: [PATCH] disable mingw --- .github/workflows/tests.yml | 108 ++++++++++++++++++------------------ 1 file changed, 55 insertions(+), 53 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 006643b..c691fa5 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -131,59 +131,61 @@ jobs: working-directory: ./wasi run: make BUILD=${{ matrix.build }} FEATURES="unistd sysuio systime sysresource strndup fcntl timespec lstat" - windows-mingw: - runs-on: windows-latest - name: "Windows (mingw), ${{ matrix.system.target }} (build=${{ matrix.build }}, threads=${{ matrix.threads }})" - - strategy: - fail-fast: false - matrix: - build: [release, debug] - threads: [true, false] - system: - - { target: mingw64, env: x86_64 } - - { target: mingw32, env: i686 } - - defaults: - run: - shell: msys2 {0} - - env: - CC: gcc - - steps: - - uses: actions/checkout@v3 - - uses: msys2/setup-msys2@v2 - with: - msystem: ${{ matrix.system.target }} - install: >- - make - gcc - - uses: dorny/paths-filter@v2 - id: changes - with: - filters: | - w2c2: - - 'w2c2/**' - wasi: - - 'wasi/**' - - if: steps.changes.outputs.w2c2 == 'true' - name: Build w2c2 - env: - LDFLAGS: -static - working-directory: ./w2c2 - run: make BUILD=${{ matrix.build }} FEATURES="getopt ${{ matrix.threads && 'threads' || '' }}" - - if: steps.changes.outputs.w2c2 == 'true' - name: Run tests - working-directory: ./tests - shell: bash - env: - ARCH: ${{ matrix.system.target }} - run: make run-tests - - if: steps.changes.outputs.wasi == 'true' - name: Build wasi - working-directory: ./wasi - run: make BUILD=${{ matrix.build }} +# Disabled due to sqrt issues +# +# windows-mingw: +# runs-on: windows-latest +# name: "Windows (mingw), ${{ matrix.system.target }} (build=${{ matrix.build }}, threads=${{ matrix.threads }})" +# +# strategy: +# fail-fast: false +# matrix: +# build: [release, debug] +# threads: [true, false] +# system: +# - { target: mingw64, env: x86_64 } +# - { target: mingw32, env: i686 } +# +# defaults: +# run: +# shell: msys2 {0} +# +# env: +# CC: gcc +# +# steps: +# - uses: actions/checkout@v3 +# - uses: msys2/setup-msys2@v2 +# with: +# msystem: ${{ matrix.system.target }} +# install: >- +# make +# gcc +# - uses: dorny/paths-filter@v2 +# id: changes +# with: +# filters: | +# w2c2: +# - 'w2c2/**' +# wasi: +# - 'wasi/**' +# - if: steps.changes.outputs.w2c2 == 'true' +# name: Build w2c2 +# env: +# LDFLAGS: -static +# working-directory: ./w2c2 +# run: make BUILD=${{ matrix.build }} FEATURES="getopt ${{ matrix.threads && 'threads' || '' }}" +# - if: steps.changes.outputs.w2c2 == 'true' +# name: Run tests +# working-directory: ./tests +# shell: bash +# env: +# ARCH: ${{ matrix.system.target }} +# run: make run-tests +# - if: steps.changes.outputs.wasi == 'true' +# name: Build wasi +# working-directory: ./wasi +# run: make BUILD=${{ matrix.build }} windows-msvc: runs-on: windows-2019