Skip to content

Commit

Permalink
Update to Apodini 0.9.1 (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
PSchmiedmayer authored Apr 12, 2022
1 parent 99ce8e2 commit 8790ca6
Show file tree
Hide file tree
Showing 21 changed files with 434 additions and 468 deletions.
33 changes: 0 additions & 33 deletions .github/pull_request_template.md

This file was deleted.

30 changes: 0 additions & 30 deletions .github/release-drafter.yml

This file was deleted.

102 changes: 0 additions & 102 deletions .github/workflows/build-and-test.yml

This file was deleted.

44 changes: 44 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,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
34 changes: 0 additions & 34 deletions .github/workflows/docker-compose.yml

This file was deleted.

49 changes: 0 additions & 49 deletions .github/workflows/docker.yml

This file was deleted.

34 changes: 34 additions & 0 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
#
# 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: Pull Request

on:
pull_request:
workflow_dispatch:

jobs:
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
22 changes: 0 additions & 22 deletions .github/workflows/release-drafter.yml

This file was deleted.

33 changes: 16 additions & 17 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,22 @@
#
# This source file is part of the Apodini Example open source project
#
# SPDX-FileCopyrightText: 2018-2021 Paul Schmiedmayer and project authors (see CONTRIBUTORS.md) <paul.schmiedmayer@tum.de>
#
#
# 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: Create Release
name: Release

on:
push:
tags:
- '*.*.*'
release:
types: [published]
workflow_dispatch:

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

0 comments on commit 8790ca6

Please sign in to comment.