You've already forked pgbackrest
							
							
				mirror of
				https://github.com/pgbackrest/pgbackrest.git
				synced 2025-10-30 23:37:45 +02:00 
			
		
		
		
	Move aarch64 test to Github Actions.
This test was removed in c64cd8e0 because it was taking too long to be scheduled, which held up testing.
Now that Github Actions supports aarch64 move the test there.
			
			
This commit is contained in:
		
							
								
								
									
										20
									
								
								.cirrus.yml
									
									
									
									
									
								
							
							
						
						
									
										20
									
								
								.cirrus.yml
									
									
									
									
									
								
							| @@ -7,26 +7,6 @@ only_if: $CIRRUS_BRANCH == 'integration' || $CIRRUS_PR != '' || $CIRRUS_BRANCH = | ||||
| # No auto-cancel on integration | ||||
| auto_cancellation: $CIRRUS_BRANCH != 'integration' | ||||
|  | ||||
| # Arm64 - disabled because it often takes several hours for the test to get queued in Cirrus CI | ||||
| # ---------------------------------------------------------------------------------------------------------------------------------- | ||||
| # arm64_task: | ||||
| #   arm_container: | ||||
| #     image: ubuntu:22.04 | ||||
| #     cpu: 4 | ||||
| #     memory: 2G | ||||
|  | ||||
| #   install_script: | ||||
| #     - apt-get update && apt-get install -y perl sudo locales | ||||
| #     - sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen | ||||
| #     - dpkg-reconfigure --frontend=noninteractive locales | ||||
| #     - update-locale LANG=en_US.UTF-8 | ||||
| #     - adduser --disabled-password --gecos "" testuser | ||||
| #     - echo '%testuser ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers | ||||
| #     - chown -R testuser ${CIRRUS_WORKING_DIR?} | ||||
|  | ||||
| #   script: | ||||
| #     - su - testuser -c "${CIRRUS_WORKING_DIR?}/test/ci.pl test --sudo --no-tempfs --param=c-only --param=no-coverage" | ||||
|  | ||||
| # FreeBSD 13 | ||||
| # ---------------------------------------------------------------------------------------------------------------------------------- | ||||
| freebsd_13_task: | ||||
|   | ||||
							
								
								
									
										13
									
								
								.github/workflows/test.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										13
									
								
								.github/workflows/test.yml
									
									
									
									
										vendored
									
									
								
							| @@ -71,6 +71,19 @@ jobs: | ||||
|         run: | | ||||
|           cat ${GITHUB_WORKSPACE?}/pgbackrest/test/result/coverage/coverage.html | ||||
|  | ||||
|   # Unit tests on aarch64 with valgrind | ||||
|   aarch64: | ||||
|     runs-on: ubuntu-22.04-arm | ||||
|  | ||||
|     steps: | ||||
|       - name: Checkout Code | ||||
|         uses: actions/checkout@v4 | ||||
|         with: | ||||
|           path: pgbackrest | ||||
|  | ||||
|       - name: Run Test | ||||
|         run: cd ${HOME?} && ${GITHUB_WORKSPACE?}/pgbackrest/test/ci.pl test --vm=u22 --param=c-only --param=no-coverage --param=no-back-trace --param=build-max=2 | ||||
|  | ||||
|   # Basic tests on other architectures using emulation. The emulation is so slow that running all the unit tests would be too | ||||
|   # expensive, but this at least shows that the build works and some of the more complex tests run. In particular, it is good to | ||||
|   # test on one big-endian architecture to be sure that checksums are correct. | ||||
|   | ||||
| @@ -12,6 +12,10 @@ | ||||
| # - docker login -u pgbackrest | ||||
| # - DATE=YYYYMMDDX;VM=X;ARCH=X;BASE=pgbackrest/test:${VM?}-base-${ARCH?};docker tag ${BASE?} ${BASE?}-${DATE?} && docker push ${BASE?}-${DATE?} | ||||
| # ********************************************************************************************************************************** | ||||
| 20251004A: | ||||
|   aarch64: | ||||
|     u22: 1e0f3dbc1772764b31ffdac85a1d1c24abe97cb3 | ||||
|  | ||||
| 20250926A: | ||||
|   x86_64: | ||||
|     u22: 1e0f3dbc1772764b31ffdac85a1d1c24abe97cb3 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user