File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change 1+ name : test-sdk-workflows
2+ on :
3+ push :
4+ branches : [ main ]
5+ workflow_dispatch :
6+ pull_request :
7+ branches :
8+ - ' *'
9+ jobs :
10+ linux-android :
11+ strategy :
12+ fail-fast : false
13+ matrix :
14+ swift-version : ['6.1', '6.2']
15+ os : ['ubuntu-latest']
16+ runs-on : ubuntu-latest
17+ timeout-minutes : 60
18+ steps :
19+ - name : Create Package
20+ run : swift package init --name SwiftDemo
21+ - name : Build Static Linux
22+ run : |
23+ curl -s --retry 3 https://raw.githubusercontent.com/swift-android-sdk/github-workflows/refs/heads/android-workflow/.github/workflows/scripts/install-and-build-with-sdk.sh | \
24+ bash -s -- --static --flags="$BUILD_FLAGS" ${{ matrix.swift_version }}
25+ - name : Build Android
26+ run : |
27+ curl -s --retry 3 https://raw.githubusercontent.com/swift-android-sdk/github-workflows/refs/heads/android-workflow/.github/workflows/scripts/install-and-build-with-sdk.sh | \
28+ bash -s -- --android --flags="$BUILD_FLAGS" ${{ matrix.swift_version }}
29+
You can’t perform that action at this time.
0 commit comments