Skip to content

Commit 8790ca6

Browse files
Update to Apodini 0.9.1 (#9)
1 parent 99ce8e2 commit 8790ca6

File tree

21 files changed

+434
-468
lines changed

21 files changed

+434
-468
lines changed

.github/pull_request_template.md

Lines changed: 0 additions & 33 deletions
This file was deleted.

.github/release-drafter.yml

Lines changed: 0 additions & 30 deletions
This file was deleted.

.github/workflows/build-and-test.yml

Lines changed: 0 additions & 102 deletions
This file was deleted.

.github/workflows/build.yml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
#
2+
# This source file is part of the Apodini open source project
3+
#
4+
# SPDX-FileCopyrightText: 2021 Paul Schmiedmayer and the project authors (see CONTRIBUTORS.md) <paul.schmiedmayer@tum.de>
5+
#
6+
# SPDX-License-Identifier: MIT
7+
#
8+
9+
name: Build
10+
11+
on:
12+
push:
13+
branches:
14+
- develop
15+
workflow_dispatch:
16+
17+
jobs:
18+
macosclient:
19+
name: macOS Client
20+
runs-on: macos-12
21+
steps:
22+
- uses: actions/checkout@v2
23+
- uses: maxim-lobanov/setup-xcode@v1
24+
with:
25+
xcode-version: latest
26+
- name: Check Environment
27+
run: |
28+
xcodebuild -version
29+
swift --version
30+
- name: Build and test
31+
run: xcodebuild test -scheme App -destination 'platform=iOS Simulator,name=iPhone 13'
32+
build_and_test:
33+
name: Build and Test
34+
uses: Apodini/.github/.github/workflows/build-and-test.yml@v1
35+
with:
36+
packagename: WebService
37+
aptgetdependencies: libsqlite3-dev
38+
yumdependencies: sqlite-devel
39+
path: ./WebService/
40+
docker-compose-test:
41+
name: Docker Compose Test
42+
uses: Apodini/.github/.github/workflows/docker-compose-test.yml@v1
43+
with:
44+
testscript: test.sh

.github/workflows/docker-compose.yml

Lines changed: 0 additions & 34 deletions
This file was deleted.

.github/workflows/docker.yml

Lines changed: 0 additions & 49 deletions
This file was deleted.

.github/workflows/pull_request.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
#
2+
# This source file is part of the Apodini open source project
3+
#
4+
# SPDX-FileCopyrightText: 2021 Paul Schmiedmayer and the project authors (see CONTRIBUTORS.md) <paul.schmiedmayer@tum.de>
5+
#
6+
# SPDX-License-Identifier: MIT
7+
#
8+
9+
name: Pull Request
10+
11+
on:
12+
pull_request:
13+
workflow_dispatch:
14+
15+
jobs:
16+
build_and_test:
17+
name: Build and Test
18+
uses: Apodini/.github/.github/workflows/build-and-test.yml@v1
19+
with:
20+
packagename: WebService
21+
aptgetdependencies: libsqlite3-dev
22+
yumdependencies: sqlite-devel
23+
path: ./WebService/
24+
reuse_action:
25+
name: REUSE Compliance Check
26+
uses: Apodini/.github/.github/workflows/reuse.yml@v1
27+
swiftlint:
28+
name: SwiftLint
29+
uses: Apodini/.github/.github/workflows/swiftlint.yml@v1
30+
docker-compose-test:
31+
name: Docker Compose Test
32+
uses: Apodini/.github/.github/workflows/docker-compose-test.yml@v1
33+
with:
34+
testscript: test.sh

.github/workflows/release-drafter.yml

Lines changed: 0 additions & 22 deletions
This file was deleted.

.github/workflows/release.yml

Lines changed: 16 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,22 @@
1-
#
2-
# This source file is part of the Apodini Example open source project
3-
#
4-
# SPDX-FileCopyrightText: 2018-2021 Paul Schmiedmayer and project authors (see CONTRIBUTORS.md) <paul.schmiedmayer@tum.de>
5-
#
1+
#
2+
# This source file is part of the Apodini open source project
3+
#
4+
# SPDX-FileCopyrightText: 2021 Paul Schmiedmayer and the project authors (see CONTRIBUTORS.md) <paul.schmiedmayer@tum.de>
5+
#
66
# SPDX-License-Identifier: MIT
7-
#
7+
#
88

9-
name: Create Release
9+
name: Release
1010

1111
on:
12-
push:
13-
tags:
14-
- '*.*.*'
12+
release:
13+
types: [published]
14+
workflow_dispatch:
1515

1616
jobs:
17-
build:
18-
runs-on: ubuntu-latest
19-
steps:
20-
- name: Create GitHub Release
21-
uses: softprops/action-gh-release@v0.1.5
22-
env:
23-
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
17+
docker-build-and-push:
18+
name: Docker Build and Push
19+
uses: Apodini/.github/.github/workflows/docker-build-and-push.yml@v1
20+
with:
21+
docker-file: ./WebService/Dockerfile
22+
image-name: apodini/template

0 commit comments

Comments
 (0)