Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increment version and build number, and add GitHub Actions #4

Merged
merged 2 commits into from
Mar 4, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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