generated from Apodini/ApodiniTemplate
-
Notifications
You must be signed in to change notification settings - Fork 1
44 lines (41 loc) · 1.1 KB
/
build.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
#
# This source file is part of the Apodini open source project
#
# SPDX-FileCopyrightText: 2021 Paul Schmiedmayer and the project authors (see CONTRIBUTORS.md) <paul.schmiedmayer@tum.de>
#
# SPDX-License-Identifier: MIT
#
name: Build
on:
push:
branches:
- develop
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/
docker-compose-test:
name: Docker Compose Test
uses: Apodini/.github/.github/workflows/docker-compose-test.yml@v1
with:
testscript: test.sh