From 941b3de36e8c2c05088a7e0de45894b5cc537849 Mon Sep 17 00:00:00 2001 From: khoi Date: Thu, 29 Aug 2019 14:21:24 +0700 Subject: [PATCH] Add Swift starter template --- ci/properties/swift.properties.json | 6 ++++++ ci/swift.yml | 15 +++++++++++++++ icons/swift.svg | 10 ++++++++++ 3 files changed, 31 insertions(+) create mode 100644 ci/properties/swift.properties.json create mode 100644 ci/swift.yml create mode 100644 icons/swift.svg diff --git a/ci/properties/swift.properties.json b/ci/properties/swift.properties.json new file mode 100644 index 0000000..9efd645 --- /dev/null +++ b/ci/properties/swift.properties.json @@ -0,0 +1,6 @@ +{ + "name": "Swift", + "description": "Build and test a Swift Package.", + "iconName": "swift", + "categories": ["Swift"] +} diff --git a/ci/swift.yml b/ci/swift.yml new file mode 100644 index 0000000..2e76632 --- /dev/null +++ b/ci/swift.yml @@ -0,0 +1,15 @@ +name: Swift + +on: [push] + +jobs: + build: + + runs-on: macOS-latest + + steps: + - uses: actions/checkout@v1 + - name: Build + run: swift build -v + - name: Run tests + run: swift test -v diff --git a/icons/swift.svg b/icons/swift.svg new file mode 100644 index 0000000..69df9cd --- /dev/null +++ b/icons/swift.svg @@ -0,0 +1,10 @@ + + + + + + + + + +