diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5350fdba2c..9e4f093887 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -77,7 +77,7 @@ jobs: sdl2_mixer \ sdl2_ttf \ qt@6 \ - mysql-client \ + mysql-client@5.7 \ postgresql \ unixodbc - name: build diff --git a/scripts/ci-build.sh b/scripts/ci-build.sh index ae2c6682ce..1c633c39de 100755 --- a/scripts/ci-build.sh +++ b/scripts/ci-build.sh @@ -56,9 +56,9 @@ ninja install "os_x") # gcc is an alias for clang on OS X -export PATH="$(brew --prefix llvm)/bin:$(brew --prefix gettext)/bin:$(brew --prefix icu4c)/bin:$(brew --prefix qt@6)/bin:$(brew --prefix mysql-client)/bin:$PATH" -export CPPFLAGS="-I$(brew --prefix gettext)/include -I$(brew --prefix icu4c)/include -I$(brew --prefix qt@6)/include -I$(brew --prefix readline)/include -I$(brew --prefix unixodbc)/include" -export LDFLAGS="-L$(brew --prefix gettext)/lib -L$(brew --prefix icu4c)/lib -L$(brew --prefix qt@6)/lib -L$(brew --prefix readline)/lib -L$(brew --prefix unixodbc)/lib" +export PATH="$(brew --prefix llvm)/bin:$(brew --prefix gettext)/bin:$(brew --prefix icu4c)/bin:$(brew --prefix qt@6)/bin:$(brew --prefix mysql-client@5.7)/bin:$PATH" +export CPPFLAGS="-I$(brew --prefix gettext)/include -I$(brew --prefix icu4c)/include -I$(brew --prefix qt@6)/include -I$(brew --prefix readline)/include -I$(brew --prefix unixodbc)/include -I$(brew --prefix mysql-client@5.7)/include -I$(brew --prefix openssl@1.1)/include" +export LDFLAGS="-L$(brew --prefix gettext)/lib -L$(brew --prefix icu4c)/lib -L$(brew --prefix qt@6)/lib -L$(brew --prefix readline)/lib -L$(brew --prefix unixodbc)/lib -L$(brew --prefix mysql-client@5.7)/lib -L$(brew --prefix openssl@1.1)/lib" export PKG_CONFIG_PATH="$(brew --prefix icu4c)/lib/pkgconfig" export MOCCMD=$(find /usr/local/Cellar/qt -name "moc" | head -n 1)