mirror of
				https://github.com/Z3Prover/z3
				synced 2025-10-28 18:29:23 +00:00 
			
		
		
		
	Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v4...v5) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
		
			
				
	
	
		
			38 lines
		
	
	
	
		
			987 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			38 lines
		
	
	
	
		
			987 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
| name: Android Build
 | |
| 
 | |
| on:
 | |
|   push:
 | |
|     branches: [ master ]
 | |
| 
 | |
| env:
 | |
|   BUILD_TYPE: Release
 | |
| 
 | |
| permissions:
 | |
|   contents: read
 | |
| 
 | |
| jobs:
 | |
|   build:
 | |
|     runs-on: ubuntu-latest
 | |
| 
 | |
|     strategy:
 | |
|       fail-fast: false
 | |
|       matrix:
 | |
|         android-abi: [arm64-v8a, armeabi-v7a, x86, x86_64]
 | |
| 
 | |
|     steps:
 | |
|     - name: Checkout code
 | |
|       uses: actions/checkout@v5
 | |
| 
 | |
|     - name: Configure CMake and build
 | |
|       run:  |
 | |
|         mkdir build
 | |
|         cd build
 | |
|         cmake -DCMAKE_BUILD_TYPE=${{ env.BUILD_TYPE }} -DCMAKE_SYSTEM_NAME=Android -DCMAKE_ANDROID_API=21 -DCMAKE_ANDROID_ARCH_ABI=${{ matrix.android-abi }} "-DCMAKE_ANDROID_NDK=$ANDROID_NDK_LATEST_HOME" -DZ3_BUILD_JAVA_BINDINGS=TRUE -G "Unix Makefiles" ../
 | |
|         make -j $(nproc)
 | |
|         tar -cvf z3-build-${{ matrix.android-abi }}.tar *.jar *.so
 | |
| 
 | |
|     - name: Archive production artifacts
 | |
|       uses: actions/upload-artifact@v4
 | |
|       with:
 | |
|         name: android-build-${{ matrix.android-abi }}
 | |
|         path: build/z3-build-${{ matrix.android-abi }}.tar
 |