mirror of
				https://github.com/psycopg/psycopg2.git
				synced 2025-10-31 15:57:31 +03:00 
			
		
		
		
	ci(macos): move libpq build script to BEFORE_ALL build step
This is is how it is organised in Linux.
This commit is contained in:
		
							parent
							
								
									d43e5fe092
								
							
						
					
					
						commit
						310bc75532
					
				
							
								
								
									
										6
									
								
								.github/workflows/packages.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										6
									
								
								.github/workflows/packages.yml
									
									
									
									
										vendored
									
									
								
							|  | @ -160,12 +160,6 @@ jobs: | ||||||
|       - name: Checkout repos |       - name: Checkout repos | ||||||
|         uses: actions/checkout@v4 |         uses: actions/checkout@v4 | ||||||
| 
 | 
 | ||||||
|       - name: Build dependencies |  | ||||||
|         run: ./scripts/build/build_libpq.sh |  | ||||||
| 
 |  | ||||||
|       - name: Show dependency tree |  | ||||||
|         run: otool -L /tmp/libpq.build/lib/*.dylib |  | ||||||
| 
 |  | ||||||
|       - name: Build wheels |       - name: Build wheels | ||||||
|         uses: pypa/cibuildwheel@v2.22.0 |         uses: pypa/cibuildwheel@v2.22.0 | ||||||
|         env: |         env: | ||||||
|  |  | ||||||
|  | @ -11,6 +11,12 @@ set -x | ||||||
| dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" | dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" | ||||||
| prjdir="$( cd "${dir}/../.." && pwd )" | prjdir="$( cd "${dir}/../.." && pwd )" | ||||||
| 
 | 
 | ||||||
|  | # Build dependency libraries | ||||||
|  | "${prjdir}/scripts/build/build_libpq.sh" | ||||||
|  | 
 | ||||||
|  | # Show dependency tree | ||||||
|  | # otool -L /tmp/libpq.build/lib/*.dylib | ||||||
|  | 
 | ||||||
| brew install gnu-sed postgresql@${PG_VERSION} | brew install gnu-sed postgresql@${PG_VERSION} | ||||||
| brew link --overwrite postgresql@${PG_VERSION} | brew link --overwrite postgresql@${PG_VERSION} | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user