|
53 | 53 | - name: Free Disk Space
|
54 | 54 | run: |
|
55 | 55 | df -h
|
56 |
| - # brings available space from 25G to 42G |
57 |
| - #sudo rm -rf /usr/share/miniconda /usr/share/az* /usr/share/glade* /usr/local/lib/node_modules /usr/local/share/chromium /usr/local/share/powershell /usr/share/dotnet /usr/local/lib/android /opt/ghc /opt/hostedtoolcache/CodeQL |
| 56 | + # brings available space from 25G to 32G |
| 57 | + # otherwise we sometimes run out of space during the build |
58 | 58 | sudo rm -rf /usr/share/miniconda /usr/share/az* /usr/share/glade* /usr/local/share/chromium /usr/local/share/powershell /usr/share/dotnet /opt/ghc /opt/hostedtoolcache/CodeQL
|
59 |
| - df -h |
60 | 59 | sudo docker image prune --all --force
|
61 | 60 | sudo docker builder prune -a
|
62 | 61 | df -h
|
|
97 | 96 | # swift-6.1-RELEASE_android-0.1-x86_64.artifactbundle.tar.gz.zip
|
98 | 97 | echo "artifact-name=${ARTIFACT_NAME}" >> $GITHUB_OUTPUT
|
99 | 98 |
|
100 |
| - #tree ${ARTIFACT_BUILD}/ |
101 | 99 | # show an abridged tree
|
102 |
| - tree ${ARTIFACT_BUILD} --filesfirst --prune -P 'Android.swiftmodule' -P 'libswiftAndroid.*' -P 'libFoundation.*' -P 'swiftrt.o' -P 'swift*.json' -P 'info.json' -P 'api-level.h' -P 'android.modulemap' -P 'SwiftAndroidNDK.h' -P 'bridging.modulemap' |
103 |
| -
|
104 |
| - # validate some required paths in the artifactbundle |
105 |
| - #pushd ${ARTIFACT_BUILD}/*/*/usr |
106 |
| - #ls lib/swift/android |
107 |
| - #ls lib/swift/android/* |
108 |
| - #ls lib/swift/android/*/swiftrt.o |
109 |
| - #ls lib/*-linux-android/*/crtbegin_dynamic.o |
110 |
| -
|
111 |
| - #ls lib/swift_static-* |
112 |
| - #ls lib/swift_static-*/android |
113 |
| - #ls lib/swift_static-*/android/libFoundationEssentials.a |
114 |
| -
|
115 |
| - #ls lib/*-linux-android/libFoundationEssentials.so |
116 |
| - #ls lib/*-linux-android/libFoundationNetworking.so |
117 |
| - #ls lib/*-linux-android/libFoundationInternationalization.so |
118 |
| - #ls lib/*-linux-android/lib_FoundationICU.so |
119 |
| - #ls lib/*-linux-android/libFoundationXML.so |
120 |
| - #ls lib/*-linux-android/libTesting.so |
121 |
| -
|
122 |
| - #ls lib/swift/clang/lib |
123 |
| - #ls lib/swift/clang/lib/linux |
124 |
| - #ls lib/swift/clang/lib/linux/*/libunwind.a |
125 |
| - #popd |
| 100 | + tree ${ARTIFACT_BUILD} --filesfirst --prune -P 'Android.swiftmodule' -P 'libswiftAndroid.*' -P 'libFoundation.*' -P 'swiftrt.o' -P 'swift*.json' -P 'info.json' -P 'api-level.h' -P 'android.modulemap' -P 'SwiftAndroidNDK.h' -P 'bridging.modulemap' -P 'linux' -P 'libclang*.a' -P 'libunwind.a' -P 'libclang_rt.builtins-*-android.a' |
126 | 101 | - name: Upload SDK artifactbundle
|
127 | 102 | uses: actions/upload-artifact@v4
|
128 | 103 | with:
|
|
0 commit comments