File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
swift-ci/sdks/android/scripts Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 60
60
- name : Get artifact info
61
61
id : paths
62
62
run : |
63
- echo "swift-root=$(dirname ${{ runner.temp }}/swift-android-sdk/host-toolchain/*/usr)" >> $GITHUB_OUTPUT
64
- echo "swift-path=$(ls ${{ runner.temp }}/swift-android-sdk/host-toolchain/*/usr/bin/swift)" >> $GITHUB_OUTPUT
63
+ SWIFT_ROOT=$(dirname ${{ runner.temp }}/swift-android-sdk/host-toolchain/*/usr)
64
+ echo "swift-root=${SWIFT_ROOT}" >> $GITHUB_OUTPUT
65
+ echo "swift-path=${SWIFT_ROOT}/usr/bin/swift" >> $GITHUB_OUTPUT
65
66
66
67
ARTIFACT_PATH=$(realpath ${{ runner.temp }}/swift-android-sdk/products/*.artifactbundle.tar.gz)
67
68
echo "artifact-path=${ARTIFACT_PATH}" >> $GITHUB_OUTPUT
85
86
- name : Install SDK
86
87
run : |
87
88
${{ steps.paths.outputs.swift-path }} sdk install ${{ steps.paths.outputs.artifact-path }}
88
- ${{ steps.paths.outputs.swift-path }} sdk configure --show-configuration $(${{ steps.paths.outputs.swift-path }} sdk list | head -n 1) x86_64-unknown-linux-android
89
+ ${{ steps.paths.outputs.swift-path }} sdk configure --show-configuration $(${{ steps.paths.outputs.swift-path }} sdk list | head -n 1) x86_64-unknown-linux-android28
89
90
- name : Build swift-algorithms
90
91
run : |
91
92
cd ${{ runner.temp }}
Original file line number Diff line number Diff line change 474
474
475
475
rm -r ${sysroot_path} /usr/share/{doc,man}
476
476
rm -r ${sysroot_path} /usr/{include,lib}/{i686,riscv64}-linux-android
477
+ rm -r ${sysroot_path} /usr/lib/swift/clang/lib/linux/* {i[36]86,riscv64}*
477
478
rm -r ${sdk_staging}
478
479
479
480
# validate that some expected paths exist
You can’t perform that action at this time.
0 commit comments