Skip to content

Commit

Permalink
Merge pull request #4 from ogaoga/github-actions
Browse files Browse the repository at this point in the history
Increment version and build number, and add GitHub Actions
  • Loading branch information
ogaoga authored Mar 4, 2021
2 parents e4bdc8a + 7d5de65 commit 165299c
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 4 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Build and Unit Test

on:
# Triggers the workflow on pull request events but only for the main branch
pull_request:
branches: [ main ]

jobs:
build:
runs-on: macOS-latest
steps:
- uses: actions/checkout@v1
# Select Xcode version
- name: Select Xcode version
run: sudo xcode-select -s '/Applications/Xcode_12.4.app/Contents/Developer'
- name: Show Xcode version
run: xcodebuild -version
# Run build
- name: Build
run: xcodebuild
-sdk iphonesimulator
-configuration Debug
build
# Run unit test
- name: Run tests
run: xcodebuild
-scheme UITabBrowser
-sdk iphonesimulator
-destination 'platform=iOS Simulator,name=iPhone 12 mini'
clean test
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# UITabBrowser

[![Build and Unit Test](https://github.com/ogaoga/UITabBrowser/actions/workflows/main.yml/badge.svg)](https://github.com/ogaoga/UITabBrowser/actions/workflows/main.yml)

The simplest tab browser for iOS. No tracking, ads, 3rd party library.

![Simulator Screen Shot - iPhone 12 mini - 2021-02-27 at 20 43 18](https://user-images.githubusercontent.com/93489/109386221-a3522380-793c-11eb-9714-b15e2741e886.png)
Expand Down
8 changes: 4 additions & 4 deletions UITabBrowser.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -771,14 +771,14 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CODE_SIGN_STYLE = Manual;
CURRENT_PROJECT_VERSION = 11;
CURRENT_PROJECT_VERSION = 12;
DEVELOPMENT_TEAM = "";
INFOPLIST_FILE = UITabBrowser/Info.plist;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 1.1;
MARKETING_VERSION = 1.2;
PRODUCT_BUNDLE_IDENTIFIER = com.example.UITabBrowser;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 5.0;
Expand All @@ -792,14 +792,14 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CODE_SIGN_STYLE = Manual;
CURRENT_PROJECT_VERSION = 11;
CURRENT_PROJECT_VERSION = 12;
DEVELOPMENT_TEAM = "";
INFOPLIST_FILE = UITabBrowser/Info.plist;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 1.1;
MARKETING_VERSION = 1.2;
PRODUCT_BUNDLE_IDENTIFIER = com.example.UITabBrowser;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 5.0;
Expand Down

0 comments on commit 165299c

Please sign in to comment.