Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CI] Verify correct version was installed #17

Merged
merged 2 commits into from
Jan 29, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ jobs:
matrix:
os: [ubuntu-18.04, ubuntu-20.04, macos-latest]
swift: [5.5, swift-DEVELOPMENT-SNAPSHOT-2022-01-09-a]
include:
- swift: 5.5
expected-version-string: "Swift version 5.5 (swift-5.5-RELEASE)"
- swift: swift-DEVELOPMENT-SNAPSHOT-2022-01-09-a
expected-version-string: "Swift version 5.6-dev (LLVM 7b20e61dd04138a, Swift 9438cf6b2e83c5f)"
runs-on: ${{ matrix.os }}

steps:
Expand All @@ -23,3 +28,8 @@ jobs:

- name: Print Swift Version
run: swift --version

- name: Check Swift Version
run: |
set -e
swift --version | grep "${{ matrix.expected-version-string }}"