mirror of
				https://github.com/gnss-sdr/gnss-sdr
				synced 2025-10-30 23:03:05 +00:00 
			
		
		
		
	CI: improve python version handling
This commit is contained in:
		
							
								
								
									
										43
									
								
								.github/workflows/main.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										43
									
								
								.github/workflows/main.yml
									
									
									
									
										vendored
									
									
								
							| @@ -40,19 +40,13 @@ jobs: | ||||
|     runs-on: macos-latest | ||||
|     steps: | ||||
|       - uses: actions/checkout@v4 | ||||
|       - uses: actions/setup-python@v4 | ||||
|         with: | ||||
|           python-version: '3.11' | ||||
|           check-latest: true | ||||
|       - name: install dependencies | ||||
|         run: | | ||||
|           brew update | ||||
|           rm /usr/local/bin/2to3 || true | ||||
|           rm /usr/local/bin/idle3 || true | ||||
|           rm /usr/local/bin/pydoc3 || true | ||||
|           rm /usr/local/bin/python3 || true | ||||
|           rm /usr/local/bin/python3-config || true | ||||
|           rm /usr/local/bin/2to3-3.11 || true | ||||
|           rm /usr/local/bin/idle3.11 || true | ||||
|           rm /usr/local/bin/pydoc3.11 || true | ||||
|           rm /usr/local/bin/python3.11 || true | ||||
|           rm /usr/local/bin/python3.11-config || true | ||||
|           brew install ninja hdf5 automake armadillo lapack \ | ||||
|           gflags glog gnuradio log4cpp openssl pugixml protobuf | ||||
|           pip3 install mako | ||||
| @@ -69,19 +63,13 @@ jobs: | ||||
|     runs-on: macos-latest | ||||
|     steps: | ||||
|       - uses: actions/checkout@v4 | ||||
|       - uses: actions/setup-python@v4 | ||||
|         with: | ||||
|           python-version: '3.11' | ||||
|           check-latest: true | ||||
|       - name: install dependencies | ||||
|         run: | | ||||
|           brew update | ||||
|           rm /usr/local/bin/2to3 || true | ||||
|           rm /usr/local/bin/idle3 || true | ||||
|           rm /usr/local/bin/pydoc3 || true | ||||
|           rm /usr/local/bin/python3 || true | ||||
|           rm /usr/local/bin/python3-config || true | ||||
|           rm /usr/local/bin/2to3-3.11 || true | ||||
|           rm /usr/local/bin/idle3.11 || true | ||||
|           rm /usr/local/bin/pydoc3.11 || true | ||||
|           rm /usr/local/bin/python3.11 || true | ||||
|           rm /usr/local/bin/python3.11-config || true | ||||
|           brew install ninja pkg-config hdf5 automake armadillo lapack gflags glog \ | ||||
|           gnuradio log4cpp openssl pugixml protobuf | ||||
|           pip3 install mako | ||||
| @@ -117,19 +105,13 @@ jobs: | ||||
|     runs-on: macos-latest | ||||
|     steps: | ||||
|       - uses: actions/checkout@v4 | ||||
|       - uses: actions/setup-python@v4 | ||||
|         with: | ||||
|           python-version: '3.11' | ||||
|           check-latest: true | ||||
|       - name: install dependencies | ||||
|         run: | | ||||
|           brew update | ||||
|           rm /usr/local/bin/2to3 || true | ||||
|           rm /usr/local/bin/idle3 || true | ||||
|           rm /usr/local/bin/pydoc3 || true | ||||
|           rm /usr/local/bin/python3 || true | ||||
|           rm /usr/local/bin/python3-config || true | ||||
|           rm /usr/local/bin/2to3-3.11 || true | ||||
|           rm /usr/local/bin/idle3.11 || true | ||||
|           rm /usr/local/bin/pydoc3.11 || true | ||||
|           rm /usr/local/bin/python3.11 || true | ||||
|           rm /usr/local/bin/python3.11-config || true | ||||
|           brew install llvm pkg-config hdf5 armadillo lapack gflags glog gnuradio libmatio \ | ||||
|           log4cpp openssl pugixml protobuf | ||||
|           pip3 install mako | ||||
| @@ -195,6 +177,7 @@ jobs: | ||||
|       - uses: actions/setup-python@v4 | ||||
|         with: | ||||
|           python-version: '3.12' | ||||
|           check-latest: true | ||||
|       - name: Install dependencies | ||||
|         run: | | ||||
|           python -m pip install --upgrade pip | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Carles Fernandez
					Carles Fernandez