-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into cx/windows-arm64
- Loading branch information
Showing
1,738 changed files
with
83,639 additions
and
63,311 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,24 +16,18 @@ runs: | |
using: composite | ||
steps: | ||
- name: Cleanup GH Runner | ||
shell: bash -euo pipefail {0} | ||
run: | | ||
## Delete large files from runner to get more disk space | ||
## See https://github.com/actions/runner-images/issues/2840 | ||
sudo rm -rf /usr/share/dotnet | ||
sudo rm -rf /opt/ghc | ||
sudo rm -rf "/usr/local/share/boost" | ||
sudo rm -rf "$AGENT_TOOLSDIRECTORY" | ||
shell: bash | ||
run: .github/scripts/cleanup_gh_runner.sh | ||
|
||
- name: Cache BASE image | ||
uses: actions/[email protected].0 | ||
uses: actions/[email protected].2 | ||
if: inputs.TYPE == '64-bit' || inputs.TYPE == 'clang' | ||
with: | ||
path: otp_docker_base.tar | ||
key: ${{ runner.os }}-${{ hashFiles('.github/dockerfiles/Dockerfile.ubuntu-base', '.github/scripts/build-base-image.sh') }}-${{ hashFiles('OTP_VERSION') }} | ||
|
||
- name: Docker login | ||
uses: docker/login-action@v3.0.0 | ||
uses: docker/login-action@v3.1.0 | ||
with: | ||
registry: ghcr.io | ||
username: ${{ github.repository_owner }} | ||
|
@@ -45,13 +39,13 @@ runs: | |
|
||
- name: Cache pre-built src | ||
if: inputs.BUILD_IMAGE == 'true' | ||
uses: actions/[email protected].0 | ||
uses: actions/[email protected].2 | ||
with: | ||
path: otp_src.tar.gz | ||
key: prebuilt-src-${{ github.ref_name }}-${{ github.sha }} | ||
- name: Cache pre-built binaries | ||
if: inputs.BUILD_IMAGE == 'true' | ||
uses: actions/[email protected].0 | ||
uses: actions/[email protected].2 | ||
with: | ||
path: otp_cache.tar.gz | ||
key: prebuilt-cache-${{ inputs.TYPE }}-${{ github.ref_name }}-${{ github.sha }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#!/bin/bash | ||
|
||
cat <<EOF | ||
changes: | ||
- 'erts/**' | ||
- 'make/**' | ||
- 'lib/Makefile' | ||
- 'Makefile.in' | ||
- 'otp_build' | ||
- 'configure' | ||
EOF | ||
|
||
APPS=$(ls -d lib/*/doc | awk -F '/' '{print $2}') | ||
for app in $APPS; do | ||
if find lib/$app/ -name '*.c' -o -name '*.h' \ | ||
-o -name '*.cpp' -o -name '*.hpp' \ | ||
-o -name '*.in' -o -name '*.ac' \ | ||
-o -name 'configure' \ | ||
| grep -v "lib/$app/test" \ | ||
| grep -v "lib/$app/examples"\ | ||
| grep . > /dev/null; then | ||
echo " - 'lib/$app/**'" | ||
fi | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/bin/bash | ||
|
||
set -euo pipefail {0} | ||
|
||
## Delete large files from runner to get more disk space | ||
## See https://github.com/actions/runner-images/issues/2840 | ||
sudo rm -rf /usr/share/dotnet | ||
sudo rm -rf /opt/ghc | ||
sudo rm -rf "/usr/local/share/boost" | ||
sudo rm -rf "$AGENT_TOOLSDIRECTORY" | ||
docker system prune -a -f | ||
df -h |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,12 +14,12 @@ jobs: | |
steps: | ||
- name: Generate token | ||
id: generate_token | ||
uses: actions/create-github-app-token@v1.7.0 | ||
uses: actions/create-github-app-token@v1.9.3 | ||
with: | ||
app-id: ${{ secrets.APP_ID }} | ||
private-key: ${{ secrets.APP_PEM }} | ||
|
||
- uses: actions/[email protected].1 | ||
- uses: actions/[email protected].4 | ||
with: | ||
token: ${{ steps.generate_token.outputs.token }} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.