Skip to content

Commit 8ebece9

Browse files
committed
mingw
1 parent f5a3208 commit 8ebece9

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.github/workflows/CI-mingw.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,18 +68,18 @@ jobs:
6868

6969
# gcc *and* clang are required to run-tests.py
7070
# install it at this point since it has gcc as dependency which might interfere with the build
71-
- name: install compiler (test)
71+
- name: install compiler (clang)
7272
if: matrix.compiler == 'g++'
7373
run: |
7474
pacman -S --noconfirm clang
7575
76-
- name: install compiler (test)
76+
- name: install compiler (gcc)
7777
if: matrix.compiler == 'clang++'
7878
run: |
7979
pacman -S --noconfirm gcc
8080
8181
- name: make test
82-
run: make -j$(nproc) CXXOPTS="-Werror" test
82+
run: make -j$(nproc) test
8383

8484
- name: selfcheck
8585
run: |

selfcheck.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ elif [ "$cxx_type" = "clang" ]; then
4848
defs="$defs -D__STDC_HOSTED__"
4949
defs="$defs -D__CHAR_BIT__=8"
5050
defs="$defs -D__BYTE_ORDER__=1234"
51+
defs="$defs -D__SIZEOF_SIZE_T__=8"
5152
if [ "${MSYSTEM}" = "MINGW32" ] || [ "${MSYSTEM}" = "MINGW64" ] || [ "${MSYSTEM}" = "CLANG64" ]; then
5253
defs="$defs -D_WIN32"
5354
fi
@@ -83,7 +84,7 @@ elif [ "$cxx_type" = "clang" ]; then
8384
#done <<< "$($CXX -x c++ -stdlib=libc++ -v -c -S - 2>&1 < /dev/null | grep -e'^ [/A-Z]')"
8485
elif [ "$cxx_type" = "Apple" ]; then
8586
defs=
86-
defs="$defs -D__BYTE_ORDER__=1234"
87+
defs="$defs -D__BYTE_ORDER__"
8788
defs="$defs -D__APPLE__"
8889
defs="$defs -D__GNUC__=15"
8990
defs="$defs -D__x86_64__"

0 commit comments

Comments
 (0)