Skip to content

Commit a441618

Browse files
committed
Swift Androd build
1 parent 26f9599 commit a441618

File tree

1 file changed

+7
-10
lines changed

1 file changed

+7
-10
lines changed

.github/workflows/pull_request.yml

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -80,17 +80,14 @@ jobs:
8080
cd DemoProject
8181
${{ steps.paths.outputs.swift-path }} --version
8282
${{ steps.paths.outputs.swift-path }} package init
83-
#echo 'import Foundation' >> Sources/DemoProject/DemoProject.swift
84-
#echo 'import FoundationEssentials' >> Sources/DemoProject/DemoProject.swift
85-
#echo 'import FoundationXML' >> Sources/DemoProject/DemoProject.swift
86-
#echo 'import FoundationNetworking' >> Sources/DemoProject/DemoProject.swift
87-
#echo 'import Dispatch' >> Sources/DemoProject/DemoProject.swift
88-
#echo 'import Android' >> Sources/DemoProject/DemoProject.swift
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
83+
echo 'import Foundation' >> Sources/DemoProject/DemoProject.swift
84+
echo 'import FoundationEssentials' >> Sources/DemoProject/DemoProject.swift
85+
echo 'import FoundationXML' >> Sources/DemoProject/DemoProject.swift
86+
echo 'import FoundationNetworking' >> Sources/DemoProject/DemoProject.swift
87+
echo 'import Dispatch' >> Sources/DemoProject/DemoProject.swift
88+
echo 'import Android' >> Sources/DemoProject/DemoProject.swift
89+
${{ steps.paths.outputs.swift-path }} build --build-tests --swift-sdk x86_64-unknown-linux-android
9190
- name: Build swift-algorithms
92-
# TODO: fix <unknown>:0: error: missing required module 'SwiftAndroid'
93-
if: false
9491
run: |
9592
cd ${{ runner.temp }}
9693
git clone https://github.com/apple/swift-algorithms.git

0 commit comments

Comments
 (0)