From 0eeefa33fe01f58450d700a20a9dcb205f7105e9 Mon Sep 17 00:00:00 2001 From: Raul Metsma Date: Thu, 17 Dec 2020 20:21:47 +0200 Subject: [PATCH] Use Github actions (#29) IB-6785 Signed-off-by: Raul Metsma --- .github/workflows/build.yml | 23 +++++++++++++++++++++++ .travis.yml | 3 --- EstEIDTokenApp.xcodeproj/project.pbxproj | 6 +++--- 3 files changed, 26 insertions(+), 6 deletions(-) create mode 100644 .github/workflows/build.yml delete mode 100644 .travis.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..b7f288a --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,23 @@ +name: CI +on: [push, pull_request] +env: + BUILD_NUMBER: ${{ github.run_number }} +jobs: + macos: + name: Build on macOS + runs-on: macos-latest + steps: + - name: Checkout + uses: actions/checkout@v2 + with: + submodules: 'true' + - name: Build + run: | + xcodebuild -project EstEIDTokenApp.xcodeproj -target package CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO DSTROOT=$PWD/tmp install + mkdir upload + mv *pkg upload + - name: Archive artifacts + uses: actions/upload-artifact@v2 + with: + name: pkg + path: upload \ No newline at end of file diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 8a4a7e3..0000000 --- a/.travis.yml +++ /dev/null @@ -1,3 +0,0 @@ -language: objective-c -osx_image: xcode9.4 -script: xcodebuild -project EstEIDTokenApp.xcodeproj -target package CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO DSTROOT=$PWD/tmp install diff --git a/EstEIDTokenApp.xcodeproj/project.pbxproj b/EstEIDTokenApp.xcodeproj/project.pbxproj index c0c1a4f..4f82b25 100644 --- a/EstEIDTokenApp.xcodeproj/project.pbxproj +++ b/EstEIDTokenApp.xcodeproj/project.pbxproj @@ -261,7 +261,7 @@ 2F3883901CF46C6E00F114A7 /* Project object */ = { isa = PBXProject; attributes = { - LastUpgradeCheck = 1130; + LastUpgradeCheck = 1230; ORGANIZATIONNAME = ""; TargetAttributes = { 2F3883971CF46C6E00F114A7 = { @@ -476,6 +476,7 @@ CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; CLANG_WARN_STRICT_PROTOTYPES = YES; CLANG_WARN_SUSPICIOUS_MOVE = YES; @@ -537,6 +538,7 @@ CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; CLANG_WARN_STRICT_PROTOTYPES = YES; CLANG_WARN_SUSPICIOUS_MOVE = YES; @@ -577,7 +579,6 @@ "$(inherited)", "@executable_path/../Frameworks", ); - MARKETING_VERSION = 1.3.2; PRODUCT_BUNDLE_IDENTIFIER = ee.ria.EstEIDTokenApp; PRODUCT_NAME = "$(TARGET_NAME)"; }; @@ -594,7 +595,6 @@ "$(inherited)", "@executable_path/../Frameworks", ); - MARKETING_VERSION = 1.3.2; PRODUCT_BUNDLE_IDENTIFIER = ee.ria.EstEIDTokenApp; PRODUCT_NAME = "$(TARGET_NAME)"; };