Skip to content

CI: print environment, make CI_PROJECT_DIR writable for MacOS jobs, lint:gitignore check for tests

Karl Wette requested to merge ANU-CGA/lalsuite:gitlab-build-job-fixes into master

Description

Two Three minor CI fixes:

  • Print environment before build jobs, to help debugging what variables are set. (It looks like protected variables are masked automatically.)
  • After MacOS build jobs, always run chmod -R +w $CI_PROJECT_DIR in after_script to make sure directory is writeable. I'm seeing some wheels jobs fail to checkout because they failed (or were maybe cancelled) during make distcheck which makes the LALSuite tarball directory non-writeable. This was previously in place for the platform:conda:macos-* jobs but it makes sense to do this for all build jobs.
  • The lint:gitignore job doesn't currently build test programs, so it might miss test programs not added to .gitignore. Add make check TESTS= to this job to fix this.

API Changes and Justification

Backwards Compatible Changes

  • This change does not modify any class/function/struct/type definitions in a public C header file or any Python class/function definitions
  • This change adds new classes/functions/structs/types to a public C header file or Python module

Backwards Incompatible Changes

  • This change modifies an existing class/function/struct/type definition in a public C header file or Python module
  • This change removes an existing class/function/struct/type from a public C header file or Python module

Review Status

N/A

Edited by Karl Wette

Merge request reports

Loading