-
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.
- Loading branch information
1 parent
7122504
commit 306642a
Showing
37 changed files
with
1,915 additions
and
4 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,62 @@ | ||
name: CI | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
branches: | ||
- '*' | ||
workflow_dispatch: | ||
|
||
concurrency: | ||
group: ci-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
lint: | ||
name: Lint | ||
runs-on: macos-14 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Install tools | ||
run: brew install swiftlint | ||
|
||
- name: Run SwiftLint | ||
run: make lint | ||
|
||
build: | ||
name: Build | ||
runs-on: macos-14 | ||
strategy: | ||
matrix: | ||
config: ['debug', 'release'] | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Install tools | ||
run: gem install xcpretty | ||
|
||
- uses: maxim-lobanov/setup-xcode@v1 | ||
with: | ||
xcode-version: latest-stable | ||
|
||
- name: Build platforms in ${{ matrix.config }} | ||
run: make CONFIG=${{ matrix.config }} build-all-platforms | ||
|
||
test: | ||
name: Test | ||
runs-on: macos-14 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Install tools | ||
run: gem install xcpretty | ||
|
||
- uses: maxim-lobanov/setup-xcode@v1 | ||
with: | ||
xcode-version: latest-stable | ||
|
||
- name: Run tests | ||
run: make CONFIG=debug test-all-platforms |
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
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,8 @@ | ||
included: | ||
- Sources | ||
- Tests | ||
- Example | ||
- Package.swift | ||
- [email protected] | ||
excluded: | ||
- .build |
Oops, something went wrong.