-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (29 loc) · 711 Bytes
/
ci.yml
File metadata and controls
34 lines (29 loc) · 711 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: CI
on:
push:
branches:
- main
paths:
- "**.swift"
- "**.yml"
pull_request:
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-ci
cancel-in-progress: true
env:
LOG_LEVEL: info
SWIFT_DETERMINISTIC_HASHING: 1
jobs:
linux:
runs-on: ubuntu-latest
container: swift:6.1-jammy
timeout-minutes: 15
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Build
run: swift build --build-tests --configuration debug -Xswiftc -enable-testing -Xswiftc -warnings-as-errors -Xcc -Werror
- name: Run Tests
run: |
swift test --skip-build --configuration debug --disable-xctest