pgsql: ci: Change macOS builds from Intel to ARM.

Started by Thomas Munroover 3 years ago4 messagescomitters
Jump to latest
#1Thomas Munro
thomas.munro@gmail.com

ci: Change macOS builds from Intel to ARM.

Cirrus is about to shut down its macOS-on-Intel support, so it's time to
move our CI testing over to ARM instances. The Homebrew package manager
changed its default installation prefix for the new architecture, so a
couple of tests need tweaks to find binaries.

Back-patch to 15, where in-tree CI began.

Author: Justin Pryzby <pryzby@telsasoft.com>
Discussion: /messages/by-id/20221122225744.GF11463@telsasoft.com

Branch
------
REL_15_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/dc513bc6544dd7f49a1c2d3bf06c77dbc2b5c9c3

Modified Files
--------------
.cirrus.yml | 8 ++++----
src/test/kerberos/t/001_auth.pl | 9 ++++++++-
src/test/ldap/t/001_auth.pl | 8 +++++++-
3 files changed, 19 insertions(+), 6 deletions(-)

#2Peter Eisentraut
peter_e@gmx.net
In reply to: Thomas Munro (#1)
Re: pgsql: ci: Change macOS builds from Intel to ARM.

On 31.12.22 22:46, Thomas Munro wrote:

ci: Change macOS builds from Intel to ARM.

Cirrus is about to shut down its macOS-on-Intel support, so it's time to
move our CI testing over to ARM instances. The Homebrew package manager
changed its default installation prefix for the new architecture, so a
couple of tests need tweaks to find binaries.

Back-patch to 15, where in-tree CI began.

Author: Justin Pryzby <pryzby@telsasoft.com>
Discussion: /messages/by-id/20221122225744.GF11463@telsasoft.com

Branch
------
REL_15_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/dc513bc6544dd7f49a1c2d3bf06c77dbc2b5c9c3

Modified Files
--------------
.cirrus.yml | 8 ++++----
src/test/kerberos/t/001_auth.pl | 9 ++++++++-
src/test/ldap/t/001_auth.pl | 8 +++++++-
3 files changed, 19 insertions(+), 6 deletions(-)

I would like to backpatch the changes to src/test/kerberos/t/001_auth.pl
and src/test/ldap/t/001_auth.pl further, to PG11..PG14, so that the
tests can be run manually on macOS/ARM+Homebrew as well.

#3Daniel Gustafsson
daniel@yesql.se
In reply to: Peter Eisentraut (#2)
Re: pgsql: ci: Change macOS builds from Intel to ARM.

On 29 Jun 2023, at 11:20, Peter Eisentraut <peter@eisentraut.org> wrote:
On 31.12.22 22:46, Thomas Munro wrote:

ci: Change macOS builds from Intel to ARM.

I would like to backpatch the changes to src/test/kerberos/t/001_auth.pl and src/test/ldap/t/001_auth.pl further, to PG11..PG14, so that the tests can be run manually on macOS/ARM+Homebrew as well.

+1

--
Daniel Gustafsson

#4Peter Eisentraut
peter_e@gmx.net
In reply to: Daniel Gustafsson (#3)
Re: pgsql: ci: Change macOS builds from Intel to ARM.

On 29.06.23 15:42, Daniel Gustafsson wrote:

On 29 Jun 2023, at 11:20, Peter Eisentraut <peter@eisentraut.org> wrote:
On 31.12.22 22:46, Thomas Munro wrote:

ci: Change macOS builds from Intel to ARM.

I would like to backpatch the changes to src/test/kerberos/t/001_auth.pl and src/test/ldap/t/001_auth.pl further, to PG11..PG14, so that the tests can be run manually on macOS/ARM+Homebrew as well.

+1

done