This repository has been archived by the owner. It is now read-only.
Permalink
Cannot retrieve contributors at this time
43 lines (38 sloc)
718 Bytes
| version: 2 | |
| jobs: | |
| linux: | |
| docker: | |
| - image: swift:4.1 | |
| steps: | |
| - checkout | |
| - run: | |
| name: Compile code | |
| command: swift build | |
| - run: | |
| name: Run unit tests | |
| command: swift test | |
| linux-release: | |
| docker: | |
| - image: swift:4.1 | |
| steps: | |
| - checkout | |
| - run: | |
| name: Compile code with optimizations | |
| command: swift build -c release | |
| workflows: | |
| version: 2 | |
| tests: | |
| jobs: | |
| - linux | |
| - linux-release | |
| nightly: | |
| triggers: | |
| - schedule: | |
| cron: "0 0 * * *" | |
| filters: | |
| branches: | |
| only: | |
| - master | |
| jobs: | |
| - linux | |
| - linux-release | |