-
-
Notifications
You must be signed in to change notification settings - Fork 74
37 lines (33 loc) · 958 Bytes
/
xcbeautify.yml
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
35
36
37
name: xcbeautify
on:
push:
branches:
- main
pull_request: {}
merge_group: {}
env:
SWIFT_VERSION: 5.7
jobs:
macos:
name: Build on macOS
runs-on: macOS-latest
steps:
- uses: swift-actions/setup-swift@f51889efb55dccf13be0ee727e3d6c89a096fb4c
with:
swift-version: ${{ env.SWIFT_VERSION }}
- uses: actions/checkout@v4
- name: Build
run: swift build --disable-sandbox --configuration release
- name: Test
run: set -o pipefail && swift test 2>&1 | .build/release/xcbeautify
ubuntu_x86_64:
name: Build on Ubuntu
runs-on: ubuntu-latest
steps:
- uses: swift-actions/setup-swift@f51889efb55dccf13be0ee727e3d6c89a096fb4c
with:
swift-version: ${{ env.SWIFT_VERSION }}
- uses: actions/checkout@v4
- run: swift build
- run: set -o pipefail && swift test 2>&1 | .build/debug/xcbeautify
- run: make package-linux-x86_64