72
72
- name : Install SDK
73
73
run : |
74
74
${{ steps.paths.outputs.swift-path }} sdk install ${{ steps.paths.outputs.artifact-path }}
75
- ${{ steps.paths.outputs.swift-path }} sdk configure --show-configuration $(${{ steps.paths.outputs.swift-path }} sdk list | head -n 1) x86_64-swift -android
75
+ ${{ steps.paths.outputs.swift-path }} sdk configure --show-configuration $(${{ steps.paths.outputs.swift-path }} sdk list | head -n 1) x86_64-unknown-linux -android
76
76
- name : Build Demo Project
77
77
run : |
78
78
cd ${{ runner.temp }}
@@ -86,20 +86,20 @@ jobs:
86
86
#echo 'import FoundationNetworking' >> Sources/DemoProject/DemoProject.swift
87
87
#echo 'import Dispatch' >> Sources/DemoProject/DemoProject.swift
88
88
#echo 'import Android' >> Sources/DemoProject/DemoProject.swift
89
- #${{ steps.paths.outputs.swift-path }} build --build-tests --swift-sdk x86_64-unknown-linux-android28
90
- ${{ steps.paths.outputs.swift-path }} build --swift-sdk x86_64-unknown-linux-android28
89
+ #${{ steps.paths.outputs.swift-path }} build --build-tests --swift-sdk x86_64-unknown-linux-android
90
+ ${{ steps.paths.outputs.swift-path }} build --swift-sdk x86_64-unknown-linux-android
91
91
- name : Build swift-algorithms
92
92
run : |
93
93
cd ${{ runner.temp }}
94
94
git clone https://github.com/apple/swift-algorithms.git
95
95
cd swift-algorithms
96
- ${{ steps.paths.outputs.swift-path }} build --build-tests --swift-sdk x86_64-unknown-linux-android28
96
+ ${{ steps.paths.outputs.swift-path }} build --build-tests --swift-sdk x86_64-unknown-linux-android
97
97
- name : Test Swift Package on Android
98
98
# TODO: need to implement installed-sdk option in swift-android-action
99
99
if : false
100
100
uses : skiptools/swift-android-action@main
101
101
with :
102
102
package-path : ${{ runner.temp }}/DemoProject
103
- installed-sdk : x86_64-unknown-linux-android28
103
+ installed-sdk : x86_64-unknown-linux-android
104
104
installed-swift : ${{ steps.paths.outputs.swift-path }}
105
105
0 commit comments