Skip to content

Commit

Permalink
Merge pull request #140 from PureSwift/feature/ci
Browse files Browse the repository at this point in the history
Updated CI
  • Loading branch information
colemancda authored Apr 16, 2022
2 parents a553b21 + 648c4e9 commit ca873f2
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 510 deletions.
1 change: 0 additions & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ jobs:
uses: actions/checkout@v1
- name: Xcode Version
run: |
sudo xcode-select -s /Applications/Xcode_12.app
xcodebuild -version
swift --version
- name: Swift Version
Expand Down
50 changes: 0 additions & 50 deletions .github/workflows/release.yml

This file was deleted.

55 changes: 0 additions & 55 deletions .github/workflows/swift-arm.yml

This file was deleted.

94 changes: 5 additions & 89 deletions .github/workflows/swift.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,14 @@ on: [push]

jobs:

macOS-swift-51:
name: macOS (Swift 5.1)
macOS-swift:
name: macOS
runs-on: macOS-latest
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Xcode Version
run: |
sudo xcode-select -s /Applications/Xcode_11.3.1.app
xcodebuild -version
swift --version
- name: Swift Version
Expand All @@ -23,96 +22,13 @@ jobs:
run: swift build -c release
- name: Test (Debug)
run: swift test --configuration debug --enable-test-discovery
- name: Test (Release)
run: swift test --configuration release -Xswiftc -enable-testing

macOS-swift-52:
name: macOS (Swift 5.2)
runs-on: macOS-latest
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Xcode Version
run: |
sudo xcode-select -s /Applications/Xcode_11.4.app
xcodebuild -version
swift --version
- name: Swift Version
run: swift --version
- name: Build (Debug)
run: swift build -c debug
- name: Build (Release)
run: swift build -c release
- name: Test (Debug)
run: swift test --configuration debug --enable-test-discovery
- name: Test (Release)
run: swift test --configuration release -Xswiftc -enable-testing --enable-test-discovery


macOS-swift-53:
name: macOS (Swift 5.3)
runs-on: macOS-latest
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Xcode Version
run: |
sudo xcode-select -s /Applications/Xcode_12.app
xcodebuild -version
swift --version
- name: Swift Version
run: swift --version
- name: Build (Debug)
run: swift build -c debug
- name: Build (Release)
run: swift build -c release
- name: Test (Debug)
run: swift test --configuration debug --enable-test-discovery
- name: Test (Release)
run: swift test --configuration release -Xswiftc -enable-testing --enable-test-discovery


linux-swift-51:
name: Linux x86_64 (Swift 5.1)
runs-on: ubuntu-18.04
container: swift:5.1
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Swift Version
run: swift --version
- name: Build (Debug)
run: swift build -c debug
- name: Build (Release)
run: swift build -c release
- name: Test (Debug)
run: swift test --configuration debug --enable-test-discovery
- name: Test (Release)
run: swift test --configuration release -Xswiftc -enable-testing


linux-swift-52:
name: Linux x86_64 (Swift 5.2)
runs-on: ubuntu-18.04
container: swift:5.2.3-bionic
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Swift Version
run: swift --version
- name: Build (Debug)
run: swift build -c debug
- name: Build (Release)
run: swift build -c release
- name: Test (Debug)
run: swift test --configuration debug --enable-test-discovery
- name: Test (Release)
run: swift test --configuration release -Xswiftc -enable-testing --enable-test-discovery

linux-swift-53:
name: Linux x86_64 (Swift 5.3)
linux-swift:
name: Linux x86_64
runs-on: ubuntu-20.04
container: swift:5.3-focal
container: swift:5.6.1-focal
steps:
- name: Checkout
uses: actions/checkout@v1
Expand Down
Loading

0 comments on commit ca873f2

Please sign in to comment.