forked from MobileNativeFoundation/XCLogParser
-
Notifications
You must be signed in to change notification settings - Fork 3
41 lines (37 loc) · 988 Bytes
/
ci.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
38
39
40
41
name: CI
on: [pull_request]
jobs:
SwiftLint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: SwiftLint
uses: norio-nomura/[email protected]
with:
args: --strict
macOS:
runs-on: macos-13
env:
XCODE_VERSION: ${{ '14.1' }}
steps:
- name: Select Xcode
run: "sudo xcode-select -s /Applications/Xcode_$XCODE_VERSION.app"
- name: Checkout
uses: actions/checkout@v4
- name: Build and Run
run: rake build[release]
- name: Test
run: rake test
linux:
runs-on: ubuntu-latest
container:
image: swift:5.7.1
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Ruby
run: apt-get update && apt-get install -y ruby zlib1g-dev
- name: Build and Run
run: LANG=en_US.UTF-8 LC_CTYPE=UTF-8 rake build[release]
- name: Test
run: LANG=en_US.UTF-8 LC_CTYPE=UTF-8 rake test