This repository has been archived by the owner on Apr 20, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Use Github Actions * Add workaround for Swift 5.3 bug * Fix braces * Include dashboard route * Don't forget the login controller routes!
- Loading branch information
1 parent
b403683
commit c110aad
Showing
3 changed files
with
75 additions
and
118 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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,35 @@ | ||
name: test | ||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- master | ||
jobs: | ||
macos: | ||
runs-on: macos-latest | ||
env: | ||
DEVELOPER_DIR: /Applications/Xcode_12.app/Contents/Developer | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- run: brew install libressl | ||
- run: xcrun swift test --enable-test-discovery --sanitize=thread -Xcxx "-I/usr/local/opt/openssl/include" -Xlinker "-L/usr/local/opt/openssl/lib" | ||
linux-4_2: | ||
runs-on: ubuntu-latest | ||
container: | ||
image: swift:4.2 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- run: swift test | ||
linux: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
image: | ||
- swift:5.2-focal | ||
- swift:5.3-focal | ||
container: ${{ matrix.image }} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- run: apt-get -qq update && apt-get install -y libssl-dev | ||
- run: swift test --enable-test-discovery --sanitize=thread |
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