From 55db22d242ba044b5c5aa316f193aa40e7aa37c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Storsj=C3=B6?= Date: Thu, 1 Sep 2022 10:44:30 +0300 Subject: [PATCH] github: Update the environment used for doing msys2 builds This should get a patched host compiler for the clang64 environment, supporting symbol visibility, avoiding exporting too many symbols from the dylibs. For the mingw64 build (with GCC, which doesn't support symbol visibility on Windows), the number of exported symbols seems to be slightly lower, so we don't hit the limit of exported symbols quite yet. --- .github/workflows/build.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c53a172..eb8f892 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -158,6 +158,11 @@ jobs: - uses: msys2/setup-msys2@v2 with: msystem: ${{matrix.sys}} + # Update so that we get a new enough compiler in the clang64 + # environment (a version of clang that supports hidden visibility). + # The GCC build (in the mingw64 environment) seems to export + # slightly fewer symbols and doesn't hit the limit quite yet. + update: true install: >- git make