-
Notifications
You must be signed in to change notification settings - Fork 4
32 lines (30 loc) · 998 Bytes
/
swift.yml
File metadata and controls
32 lines (30 loc) · 998 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
name: Swift
on: [push]
jobs:
build:
name: Swift ${{ matrix.swift }} on ${{ matrix.os }}
timeout-minutes: 30
strategy:
matrix:
os: [ubuntu-latest]
swift: ["6.1"]
runs-on: ${{ matrix.os }}
steps:
- uses: vapor/swiftly-action@v0.2
with:
toolchain: ${{ matrix.swift }}
- uses: erlef/setup-beam@v1
with:
otp-version: '28'
- uses: actions/checkout@v4
with:
submodules: true
- name: Start EPMD
run: epmd -daemon
- name: Build
run: swift build
- name: Run ETF tests
run: swift test --filter ErlangActorSystemTests.ETFTests.
- name: Run ErlangActorSystem tests
# isolate test runs to avoid deadlocks
run: swift test list -Xswiftc -Xfrontend -Xswiftc -validate-tbd-against-ir=none | grep ErlangActorSystemTests.ErlangActorSystemTests. | xargs -n 1 swift test -Xswiftc -Xfrontend -Xswiftc -validate-tbd-against-ir=none --filter