Re: Adding CI to our tree

Peter Eisentraut <peter.eisentraut@enterprisedb.com>

From: Peter Eisentraut <peter.eisentraut@enterprisedb.com>
To: Andres Freund <andres@anarazel.de>, Justin Pryzby <pryzby@telsasoft.com>
Cc: Alvaro Herrera <alvherre@alvh.no-ip.org>, Tom Lane <tgl@sss.pgh.pa.us>, Robert Haas <robertmhaas@gmail.com>, Andrew Dunstan <andrew@dunslane.net>, pgsql-hackers@postgresql.org, Thomas Munro <thomas.munro@gmail.com>, Melanie Plageman <melanieplageman@gmail.com>, Daniel Gustafsson <daniel@yesql.se>
Date: 2022-02-16T12:00:24Z
Lists: pgsql-hackers
On 13.02.22 09:30, Andres Freund wrote:
>> BTW, docs can be built in parallel, and CI is using BUILD_JOBS: 4.
>> /usr/bin/xmllint --path . --noout --valid postgres.sgml
>> /usr/bin/xmllint --path . --noout --valid postgres.sgml
>> /usr/bin/xsltproc --path . --stringparam pg.version '15devel'  stylesheet.xsl postgres.sgml
>> /usr/bin/xsltproc --path . --stringparam pg.version '15devel'  stylesheet-man.xsl postgres.sgml
> Sure, it just doesn't make a difference:
> 
> make -j48 -C doc/src/sgml/ maintainer-clean && time make -j48 -C doc/src/sgml/
> real	0m34.626s
> user	0m34.342s
> sys	0m0.298s
> 
> make -j48 -C doc/src/sgml/ maintainer-clean && time make -C doc/src/sgml/
> 
> real	0m34.780s
> user	0m34.494s
> sys	0m0.285s

Note that the default target in doc/src/sgml/ is "html", not "all".  If 
you build "all", you build "html" plus "man", which can be run in 
parallel.  (It's only two jobs, of course.)  If you're more ambitious, 
you could also run the PDF builds.




Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. ci: enable zstd where available.

  2. ci: compile with -Og where applicable.

  3. ci: include hints how to install OS packages.

  4. ci: fix copy-paste mistake in 16eb8231d1b.

  5. ci: macos: align sysinfo_script to other tasks.

  6. ci: Only use one artifact instruction for logs.

  7. ci: s/CCACHE_SIZE/CCACHE_MAXSIZE/.

  8. pg_basebackup: Skip a few more fsyncs if --no-sync is specified.

  9. TAP tests: check for postmaster.pid anyway when "pg_ctl start" fails.

  10. Don't enable fsync in src/test/recovery/t/008_fsm_truncation.pl.

  11. ci: windows: run initdb with --no-sync.

  12. ci: windows: enable build summary to make it easier to spot warnings / errors.

  13. ci: Add continuous integration for github repositories via cirrus-ci.

  14. Fix TestLib::slurp_file() with offset on windows.