-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from MillerTechnologyPeru/feature/swift-5_7
Updated for Swift 5.7.1
- Loading branch information
Showing
395 changed files
with
30,994 additions
and
4,973 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# These are supported funding model platforms | ||
ko_fi: colemancda |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
**Issue** | ||
|
||
Fixes #1. | ||
|
||
**What does this PR Do?** | ||
|
||
Description of the changes in this pull request. | ||
|
||
**Where should the reviewer start?** | ||
|
||
`main.swift` | ||
|
||
**Sweet giphy showing how you feel about this PR** | ||
|
||
 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: Buildroot | ||
|
||
on: [push] | ||
|
||
jobs: | ||
|
||
buildroot-armv7-build: | ||
name: Build Armv7 | ||
runs-on: ubuntu-20.04 | ||
container: colemancda/swift-buildroot:amd64-prebuilt-armv7 | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Swift Version | ||
run: swift --version | ||
- name: Build | ||
run: | | ||
cd /usr/src/buildroot-external | ||
export SWIFT_ARCH=armv7 | ||
export SWIFT_PACKAGE_PATH=$GITHUB_WORKSPACE | ||
export SWIFTPM_DISABLE_PLUGINS=1 | ||
swift --version | ||
./build-swift-package.sh | ||
- name: Archive Build artifacts | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: swiftpm-build-armv7 | ||
path: .build/*/*.xctest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
name: Swift ARM | ||
|
||
on: [push] | ||
|
||
jobs: | ||
|
||
linux-swift-armv7-debian-build: | ||
name: Build for Debian Armv7 | ||
runs-on: ubuntu-20.04 | ||
strategy: | ||
matrix: | ||
swift: [5.6.1, 5.7] | ||
container: colemancda/swift-armv7:${{ matrix.swift }}-prebuilt | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Swift Version | ||
run: swift --version | ||
- name: Build | ||
run: | | ||
cd /usr/src/swift-armv7 | ||
export SWIFT_PACKAGE_SRCDIR=$GITHUB_WORKSPACE | ||
export SWIFT_PACKAGE_BUILDDIR=$SWIFT_PACKAGE_SRCDIR/.build | ||
mkdir -p $SWIFT_PACKAGE_BUILDDIR | ||
mkdir -p /usr/src/swift-armv7/build/ | ||
./generate-swiftpm-toolchain.sh | ||
./build-swift-package.sh | ||
- name: Archive unit tests | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: swift-${{ matrix.swift }}-debian-armv7-xctest | ||
path: .build/*/*.xctest | ||
- name: Archive Lock daemon | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: swift-${{ matrix.swift }}-debian-armv7-lockd | ||
path: .build/*/lockd | ||
|
||
linux-swift-arm64-build: | ||
name: Build for Linux Arm64 | ||
runs-on: [Linux, ARM64] | ||
strategy: | ||
matrix: | ||
swift: [5.6.3-focal, 5.7-jammy] | ||
container: swift:${{ matrix.swift }} | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
- name: Swift Version | ||
run: swift --version | ||
- name: Build (Debug) | ||
run: swift build -c debug | ||
- name: Build (Release) | ||
run: swift build -c release | ||
|
||
linux-swift-arm64-test: | ||
name: Build for Linux Arm64 | ||
runs-on: [Linux, ARM64] | ||
strategy: | ||
matrix: | ||
swift: [5.6.3-focal, 5.7-jammy] | ||
container: swift:${{ matrix.swift }} | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
- name: Swift Version | ||
run: swift --version | ||
- name: Test (Debug) | ||
run: swift test --configuration debug | ||
- name: Test (Release) | ||
run: swift test --configuration release -Xswiftc -enable-testing |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
name: Swift | ||
|
||
on: [push] | ||
|
||
jobs: | ||
build: | ||
name: Build | ||
strategy: | ||
matrix: | ||
swift: [5.6.3, 5.7] | ||
os: [ubuntu-20.04, macos-latest] | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- name: Install Swift | ||
uses: slashmo/install-swift@v0.3.0 | ||
with: | ||
version: ${{ matrix.swift }} | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
- name: Swift Version | ||
run: swift --version | ||
- name: Build (Debug) | ||
run: swift build -c debug | ||
- name: Build (Release) | ||
run: swift build -c release | ||
|
||
test: | ||
name: Test | ||
strategy: | ||
matrix: | ||
swift: [5.7] | ||
os: [ubuntu-20.04, macos-latest] | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- name: Install Swift | ||
uses: slashmo/install-swift@v0.3.0 | ||
with: | ||
version: ${{ matrix.swift }} | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
- name: Swift Version | ||
run: swift --version | ||
- name: Test (Debug) | ||
run: swift test --configuration debug |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Oops, something went wrong.