Skip to content

Commit

Permalink
Copied CI configuration from SwiftPackageIndex/SemanticVersion.
Browse files Browse the repository at this point in the history
  • Loading branch information
daveverwer committed Jul 22, 2024
1 parent 61f929f commit 11cb6f3
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/ci.yml
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

0 comments on commit 11cb6f3

Please sign in to comment.