mirror of
				https://github.com/bensuperpc/dockcross.git
				synced 2025-10-30 23:56:23 +01:00 
			
		
		
		
	Compare commits
	
		
			5 Commits
		
	
	
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 80b7253036 | |||
| 5bdad4c019 | |||
| 372eac89f7 | |||
| b3a812eed8 | |||
| 6cb59eb78c | 
							
								
								
									
										10
									
								
								.github/workflows/expired.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										10
									
								
								.github/workflows/expired.yml
									
									
									
									
										vendored
									
									
								
							| @@ -1,7 +1,7 @@ | ||||
| name: 'Close stale issues and PRs' | ||||
| on: | ||||
|   schedule: | ||||
|     - cron: '0 */8 * * *' | ||||
|     - cron: '* * */1 * *' | ||||
| jobs: | ||||
|   stale: | ||||
|     runs-on: ubuntu-latest | ||||
| @@ -12,10 +12,10 @@ jobs: | ||||
|           exempt-issue-milestones: 'future,alpha,beta,release' | ||||
|           exempt-pr-milestones: 'bugfix,improvement' | ||||
|           exempt-all-pr-assignees: true | ||||
|           stale-issue-message: 'This issue is stale because it has been open 120 days with no activity. Remove stale label or comment or this will be closed in 15 days.' | ||||
|           stale-pr-message: 'This PR is stale because it has been open 120 days with no activity. Remove stale label or comment or this will be closed in 15 days.' | ||||
|           close-issue-message: 'This issue was closed because it has been stalled for 30 days with no activity.' | ||||
|           close-pr-message: 'This PR was closed because it has been stalled for 30 days with no activity.' | ||||
|           stale-issue-message: 'This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 15 days.' | ||||
|           stale-pr-message: 'This PR is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 15 days.' | ||||
|           close-issue-message: 'This issue was closed because it has been stalled for 15 days with no activity.' | ||||
|           close-pr-message: 'This PR was closed because it has been stalled for 15 days with no activity.' | ||||
|           days-before-issue-stale: 120 | ||||
|           days-before-pr-stale: 120 | ||||
|           days-before-issue-close: 30 | ||||
|   | ||||
							
								
								
									
										6
									
								
								.github/workflows/main.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										6
									
								
								.github/workflows/main.yml
									
									
									
									
										vendored
									
									
								
							| @@ -16,7 +16,7 @@ on: | ||||
| jobs: | ||||
|   base: | ||||
|     name: base | ||||
|     runs-on: ubuntu-latest | ||||
|     runs-on: ubuntu-20.04 | ||||
|     steps: | ||||
|       - uses: actions/checkout@v2 | ||||
|       - name: build | ||||
| @@ -26,7 +26,7 @@ jobs: | ||||
|       - name: archive base | ||||
|         run: | | ||||
|             mkdir -p cache | ||||
|             docker save dockcross/base:latest | xz -e9 -T0 > ./cache/base.tar.xz | ||||
|             docker save -o ./cache/base.tar dockcross/base:latest | ||||
|       - name: save base | ||||
|         uses: actions/upload-artifact@v2 | ||||
|         with: | ||||
| @@ -54,7 +54,7 @@ jobs: | ||||
|           name: cache | ||||
|           path: ./cache | ||||
|       - name: load base | ||||
|         run: xz -d -k < ./cache/base.tar.xz | docker load | ||||
|         run: docker load -i ./cache/base.tar | ||||
|       - name: build | ||||
|         run: make ${{ matrix.arch_name }} | ||||
|       - name: test | ||||
|   | ||||
| @@ -79,9 +79,6 @@ if [ ${REV} = "crosstool-ng-1.23.0" ]; then | ||||
|   patch scripts/build/companion_libs/210-expat.sh -i /dockcross/crosstool-ng-expat.patch | ||||
|   # Patch to fix error with bash 5 and up: https://github.com/pfalcon/esp-open-sdk/issues/365 | ||||
|   patch configure.ac -i /dockcross/Fix-error-with-bash-5-and-up.patch | ||||
|   # Clean patch | ||||
|   rm /dockcross/Fix-error-with-bash-5-and-up.patch | ||||
|   rm /dockcross/crosstool-ng-expat.patch | ||||
| fi | ||||
|  | ||||
| # Bootstrap and install the tool. | ||||
|   | ||||
| @@ -29,5 +29,3 @@ rm get-pip.py | ||||
|  | ||||
| ${PYTHON} -m pip install --upgrade --ignore-installed setuptools | ||||
| ${PYTHON} -m pip install --ignore-installed conan | ||||
| # Purge cache to save space: https://stackoverflow.com/questions/37513597/is-it-safe-to-delete-cache-pip-directory | ||||
| ${PYTHON} -m pip cache purge | ||||
|   | ||||
| @@ -1,26 +0,0 @@ | ||||
| #!/bin/bash | ||||
| set -euo pipefail | ||||
|  | ||||
| # More info: https://github.com/GoogleContainerTools/container-diff | ||||
|  | ||||
| if (( $# < 1 || $# > 2  )); then | ||||
|     echo "Need 1 or 2 arguments: <img1> <img2>" | ||||
|     exit 1 | ||||
| fi | ||||
|  | ||||
| if (( $# == 1 )); then | ||||
|     container-diff analyze $1 --type=history 2>&1 | tee -a analyze-history.txt | ||||
|     container-diff analyze $1 --type=file 2>&1 | tee -a analyze-file.txt | ||||
|     container-diff analyze $1 --type=size 2>&1 | tee -a analyze-size.txt | ||||
|     container-diff analyze $1 --type=apt 2>&1 | tee -a analyze-apt.txt | ||||
|     container-diff analyze $1 --type=pip 2>&1 | tee -a analyze-pip.txt | ||||
|  | ||||
| fi | ||||
|  | ||||
| if (( $# == 2 )); then | ||||
|     container-diff diff $1 $2 --type=history 2>&1 | tee -a diff-history.txt | ||||
|     container-diff diff $1 $2 --type=file 2>&1 | tee -a diff-file.txt | ||||
|     container-diff diff $1 $2 --type=size 2>&1 | tee -a diff-size.txt | ||||
|     container-diff diff $1 $2 --type=apt 2>&1 | tee -a diff-apt.txt | ||||
|     container-diff diff $1 $2 --type=pip 2>&1 | tee -a diff-pip.txt | ||||
| fi | ||||
		Reference in New Issue
	
	Block a user