forked from JohnSundell/Plot
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Copied CI configuration from
SwiftPackageIndex/SemanticVersion
.
- Loading branch information
1 parent
61f929f
commit 11cb6f3
Showing
1 changed file
with
29 additions
and
0 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,29 @@ | ||
name: Continuous Integration | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
|
||
jobs: | ||
|
||
build-release: | ||
strategy: | ||
matrix: | ||
# https://github.com/actions/virtual-environments | ||
os: [macos-12, ubuntu-20.04] | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- run: swift build --disable-automatic-resolution -c release | ||
|
||
run-tests: | ||
strategy: | ||
matrix: | ||
swift-version: [5.8, 5.9, 5.10, 6.0] | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- uses: fwal/setup-swift@v1 | ||
with: | ||
swift-version: ${{ matrix.swift-version }} | ||
- uses: actions/checkout@v2 | ||
- run: swift test |