Compare commits

...
15 Commits
Author SHA1 Message Date
toxblh 4b569e0631 delete travisCI 2020-02-11 23:42:18 +00:00
toxblh 31a5a7c59c decrease time 2020-02-11 23:41:52 +00:00
toxblh 75d2bdf92c final build test 2020-02-11 23:39:25 +00:00
toxblh b4c4067fd0 upd flows 2020-02-11 23:37:20 +00:00
toxblh e1583e5255 test2 2020-02-11 23:35:54 +00:00
toxblh d4762ab81d del npm build 2020-02-11 23:32:02 +00:00
toxblh a35b77bfe3 expose test artifact 2020-02-11 23:19:42 +00:00
toxblh 281f6d711e publish for master with tag 2020-02-11 23:12:04 +00:00
toxblh d52d84c3d1 set add params 2020-02-11 23:09:14 +00:00
toxblh 3141755da7 Test code sign 2020-02-10 22:57:03 +00:00
toxblh 94c3c141e8 separete test and build 2020-02-10 21:37:12 +00:00
toxblh df3beb90f5 gem install xcpretty 2020-02-10 21:22:13 +00:00
toxblh a8ca5b3713 enable test 2020-02-10 21:17:45 +00:00
toxblh 42101f092b dis test 2020-02-10 21:12:55 +00:00
toxblh a161341bca build xcode 2020-02-10 21:11:26 +00:00
5 changed files with 54 additions and 22 deletions
+22
View File
@@ -0,0 +1,22 @@
name: Swift
on: [push]
jobs:
test:
runs-on: macOS-latest
steps:
- uses: actions/checkout@v1
- name: Run tests
run: xcodebuild test -project MTMR.xcodeproj -scheme 'UnitTests' | xcpretty -c && exit ${PIPESTATUS[0]}
build:
runs-on: macOS-latest
steps:
- uses: actions/checkout@v1
- name: Build
run: xcodebuild archive -project "MTMR.xcodeproj" -scheme "MTMR" -archivePath Release/App.xcarchive DEVELOPMENT_TEAM="" CODE_SIGN_IDENTITY="" | xcpretty -c && exit ${PIPESTATUS[0]}
+31
View File
@@ -0,0 +1,31 @@
name: Swift
on:
push:
branches:
- master
tags:
- "v*"
jobs:
test:
runs-on: macOS-latest
steps:
- uses: actions/checkout@v1
- name: Set up Node.js
uses: actions/setup-node@v1
with:
node-version: 12.x
- name: Install create-dmg
run: npm i -g create-dmg
- name: Build Archive
run: xcodebuild archive -project "MTMR.xcodeproj" -scheme "MTMR" -archivePath Release/App.xcarchive DEVELOPMENT_TEAM="" CODE_SIGN_IDENTITY="" | xcpretty -c && exit ${PIPESTATUS[0]}
- name: Build App
run: xcodebuild -project "MTMR.xcodeproj" -exportArchive -archivePath Release/App.xcarchive -exportOptionsPlist export-options.plist -exportPath Release | xcpretty -c && exit ${PIPESTATUS[0]}
-15
View File
@@ -1,15 +0,0 @@
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
-6
View File
@@ -1,6 +0,0 @@
language: swift
xcode_project: MTMR.xcodeproj
xcode_scheme: UnitTests
osx_image: xcode11.1
install: gem install xcpretty
script: "xcodebuild test -project MTMR.xcodeproj -scheme 'UnitTests' | xcpretty -c && exit ${PIPESTATUS[0]}"
+1 -1
View File
@@ -39,7 +39,7 @@
<key>NSHomeKitUsageDescription</key>
<string>MTMR needs access to HomeKit for work</string>
<key>NSHumanReadableCopyright</key>
<string>Copyright © 2018 Anton Palgunov. All rights reserved.</string>
<string>Copyright © 2018 - 2020 Anton Palgunov. All rights reserved.</string>
<key>NSLocationAlwaysAndWhenInUseUsageDescription</key>
<string>Weather widget need your location for correct work</string>
<key>NSLocationAlwaysUsageDescription</key>