mirror of
				https://gitlab.gnome.org/GNOME/glib.git
				synced 2025-11-04 10:08:56 +01:00 
			
		
		
		
	WIP: ci: Add macOS CI runner
We had one before, but the runner machine was too flaky to be useful. Re-add it now that the Foundation have sorted out a more reliable machine. (Thanks!) Signed-off-by: Philip Withnall <withnall@endlessm.com> Fixes: #1416
This commit is contained in:
		
				
					committed by
					
						
						Xavier Claessens
					
				
			
			
				
	
			
			
			
						parent
						
							027c3f8d59
						
					
				
				
					commit
					076fd5a922
				
			@@ -347,6 +347,35 @@ freebsd-12-x86_64:
 | 
			
		||||
      - "_build/meson-logs"
 | 
			
		||||
      - "_build/${CI_JOB_NAME}-report.xml"
 | 
			
		||||
 | 
			
		||||
macos:
 | 
			
		||||
  extends: .only-default
 | 
			
		||||
  stage: build
 | 
			
		||||
  only:
 | 
			
		||||
    - branches@GNOME/glib
 | 
			
		||||
  tags:
 | 
			
		||||
    - macos
 | 
			
		||||
  before_script:
 | 
			
		||||
    - pip3 install --user meson==0.49.2
 | 
			
		||||
    - pip3 install --user ninja
 | 
			
		||||
    - export PATH=/Users/gitlabrunner/Library/Python/3.7/bin:$PATH
 | 
			
		||||
  script:
 | 
			
		||||
    # FIXME: Add --werror
 | 
			
		||||
    - meson ${MESON_COMMON_OPTIONS}
 | 
			
		||||
            _build
 | 
			
		||||
    - ninja -C _build
 | 
			
		||||
    # FIXME: Multiple unit tests currently fails
 | 
			
		||||
    - .gitlab-ci/run-tests.sh || true
 | 
			
		||||
  artifacts:
 | 
			
		||||
    reports:
 | 
			
		||||
      junit: "_build/${CI_JOB_NAME}-report.xml"
 | 
			
		||||
    name: "glib-${CI_JOB_NAME}-${CI_COMMIT_REF_NAME}"
 | 
			
		||||
    when: always
 | 
			
		||||
    paths:
 | 
			
		||||
      - "_build/config.h"
 | 
			
		||||
      - "_build/glib/glibconfig.h"
 | 
			
		||||
      - "_build/meson-logs"
 | 
			
		||||
      - "_build/${CI_JOB_NAME}-report.xml"
 | 
			
		||||
 | 
			
		||||
coverage:
 | 
			
		||||
  extends: .only-default
 | 
			
		||||
  image: registry.gitlab.gnome.org/gnome/glib/fedora:v5
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user