generated from Apodini/ApodiniTemplate
-
Notifications
You must be signed in to change notification settings - Fork 1
48 lines (45 loc) · 1.28 KB
/
pull_request.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
42
43
44
45
46
47
48
#
# This source file is part of the Apodini open source project
#
# SPDX-FileCopyrightText: 2021 Paul Schmiedmayer and the project authors (see CONTRIBUTORS.md) <[email protected]>
#
# SPDX-License-Identifier: MIT
#
name: Pull Request
on:
pull_request:
workflow_dispatch:
jobs:
macosclient:
name: macOS Client
runs-on: macos-12
steps:
- uses: actions/checkout@v2
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: latest
- name: Check Environment
run: |
xcodebuild -version
swift --version
- name: Build and test
run: xcodebuild test -scheme App -destination 'platform=iOS Simulator,name=iPhone 13'
build_and_test:
name: Build and Test
uses: Apodini/.github/.github/workflows/build-and-test.yml@v1
with:
packagename: WebService
aptgetdependencies: libsqlite3-dev
yumdependencies: sqlite-devel
path: ./WebService/
reuse_action:
name: REUSE Compliance Check
uses: Apodini/.github/.github/workflows/reuse.yml@v1
swiftlint:
name: SwiftLint
uses: Apodini/.github/.github/workflows/swiftlint.yml@v1
docker-compose-test:
name: Docker Compose Test
uses: Apodini/.github/.github/workflows/docker-compose-test.yml@v1
with:
testscript: test.sh