Skip to content

Commit

Permalink
Merge pull request #41 from ensan-hcl/tools/ci
Browse files Browse the repository at this point in the history
[Tools] UbuntuでもCIを実行
  • Loading branch information
ensan-hcl authored Feb 20, 2024
2 parents 132299c + 39b9a63 commit 4577791
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions .github/workflows/swift.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
# This workflow will build a Swift project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-swift

name: Swift

name: Swift Build and Test
on:
push:
branches: [ "main", "develop" ]
Expand All @@ -11,17 +10,19 @@ on:

jobs:
build:

runs-on: macos-latest

steps:
- uses: swift-actions/setup-swift@150267bf6ba01f9d942a4bd55aa2f35ba586767d
name: Swift on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
steps:
- uses: swift-actions/setup-swift@v1
with:
swift-version: "5.9"
swift-version: 5.9
- uses: actions/checkout@v4
with:
submodules: true
- name: Build
run: swift build -Xswiftc -strict-concurrency=complete -v
- name: Run tests
run: swift test -c release -Xswiftc -strict-concurrency=complete -v
run: swift test -c release -Xswiftc -strict-concurrency=complete -v

0 comments on commit 4577791

Please sign in to comment.