Skip to content

Commit 179964f

Browse files
authored
Merge pull request #1059 from stephencelis/githubactions
Migrating from Travis to GitHub Actions
2 parents 2da992f + 1e4a1f8 commit 179964f

File tree

5 files changed

+113
-65
lines changed

5 files changed

+113
-65
lines changed
File renamed without changes.

.github/workflows/build.yml

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
name: Build and test
2+
on: [push, pull_request]
3+
env:
4+
IOS_SIMULATOR: iPhone 12
5+
IOS_VERSION: 14.4
6+
jobs:
7+
build:
8+
runs-on: macos-latest
9+
steps:
10+
- uses: actions/checkout@v2
11+
- name: Install
12+
run: |
13+
gem update bundler
14+
gem install xcpretty --no-document
15+
brew update
16+
brew outdated carthage || brew upgrade carthage
17+
- name: "Run tests (BUILD_SCHEME: SQLite iOS)"
18+
env:
19+
BUILD_SCHEME: SQLite iOS
20+
run: ./run-tests.sh
21+
- name: "Run tests (BUILD_SCHEME: SQLite Mac)"
22+
env:
23+
BUILD_SCHEME: SQLite Mac
24+
run: ./run-tests.sh
25+
- name: "Run tests (VALIDATOR_SUBSPEC: none)"
26+
env:
27+
VALIDATOR_SUBSPEC: none
28+
run: ./run-tests.sh
29+
- name: "Run tests (VALIDATOR_SUBSPEC: standard)"
30+
env:
31+
VALIDATOR_SUBSPEC: standard
32+
run: ./run-tests.sh
33+
- name: "Run tests (VALIDATOR_SUBSPEC: standalone)"
34+
env:
35+
VALIDATOR_SUBSPEC: standalone
36+
run: ./run-tests.sh
37+
- name: "Run tests (VALIDATOR_SUBSPEC: SQLCipher)"
38+
env:
39+
VALIDATOR_SUBSPEC: SQLCipher
40+
run: ./run-tests.sh
41+
- name: "Run tests (CARTHAGE_PLATFORM: iOS)"
42+
env:
43+
CARTHAGE_PLATFORM: iOS
44+
run: ./run-tests.sh
45+
- name: "Run tests (CARTHAGE_PLATFORM: Mac)"
46+
env:
47+
CARTHAGE_PLATFORM: Mac
48+
run: ./run-tests.sh
49+
- name: "Run tests (CARTHAGE_PLATFORM: watchOS)"
50+
env:
51+
CARTHAGE_PLATFORM: watchOS
52+
run: ./run-tests.sh
53+
- name: "Run tests (CARTHAGE_PLATFORM: tvOS)"
54+
env:
55+
CARTHAGE_PLATFORM: tvOS
56+
run: ./run-tests.sh
57+
- name: "Run tests (PACKAGE_MANAGER_COMMAND: test)"
58+
env:
59+
PACKAGE_MANAGER_COMMAND: test
60+
run: ./run-tests.sh

.travis.yml

Lines changed: 0 additions & 31 deletions
This file was deleted.

Tests/CocoaPods/Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
source 'https://rubygems.org'
22

3-
gem 'cocoapods', '~> 1.6.1'
3+
gem 'cocoapods', '~> 1.10.2'
44
gem 'minitest'

Tests/CocoaPods/Gemfile.lock

Lines changed: 52 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,77 +1,96 @@
11
GEM
22
remote: https://rubygems.org/
33
specs:
4-
CFPropertyList (3.0.0)
5-
activesupport (4.2.11)
6-
i18n (~> 0.7)
4+
CFPropertyList (3.0.3)
5+
activesupport (5.2.6)
6+
concurrent-ruby (~> 1.0, >= 1.0.2)
7+
i18n (>= 0.7, < 2)
78
minitest (~> 5.1)
8-
thread_safe (~> 0.3, >= 0.3.4)
99
tzinfo (~> 1.1)
10+
addressable (2.8.0)
11+
public_suffix (>= 2.0.2, < 5.0)
12+
algoliasearch (1.27.5)
13+
httpclient (~> 2.8, >= 2.8.3)
14+
json (>= 1.5.1)
1015
atomos (0.1.3)
11-
claide (1.0.2)
12-
cocoapods (1.6.0.beta.2)
13-
activesupport (>= 4.0.2, < 5)
16+
claide (1.0.3)
17+
cocoapods (1.10.2)
18+
addressable (~> 2.6)
1419
claide (>= 1.0.2, < 2.0)
15-
cocoapods-core (= 1.6.0.beta.2)
16-
cocoapods-deintegrate (>= 1.0.2, < 2.0)
17-
cocoapods-downloader (>= 1.2.2, < 2.0)
20+
cocoapods-core (= 1.10.2)
21+
cocoapods-deintegrate (>= 1.0.3, < 2.0)
22+
cocoapods-downloader (>= 1.4.0, < 2.0)
1823
cocoapods-plugins (>= 1.0.0, < 2.0)
1924
cocoapods-search (>= 1.0.0, < 2.0)
20-
cocoapods-stats (>= 1.0.0, < 2.0)
21-
cocoapods-trunk (>= 1.3.1, < 2.0)
25+
cocoapods-trunk (>= 1.4.0, < 2.0)
2226
cocoapods-try (>= 1.1.0, < 2.0)
2327
colored2 (~> 3.1)
2428
escape (~> 0.0.4)
25-
fourflusher (~> 2.0.1)
29+
fourflusher (>= 2.3.0, < 3.0)
2630
gh_inspector (~> 1.0)
2731
molinillo (~> 0.6.6)
2832
nap (~> 1.0)
29-
ruby-macho (~> 1.3, >= 1.3.1)
30-
xcodeproj (>= 1.7.0, < 2.0)
31-
cocoapods-core (1.6.0.beta.2)
32-
activesupport (>= 4.0.2, < 6)
33+
ruby-macho (~> 1.4)
34+
xcodeproj (>= 1.19.0, < 2.0)
35+
cocoapods-core (1.10.2)
36+
activesupport (> 5.0, < 6)
37+
addressable (~> 2.6)
38+
algoliasearch (~> 1.0)
39+
concurrent-ruby (~> 1.1)
3340
fuzzy_match (~> 2.0.4)
3441
nap (~> 1.0)
35-
cocoapods-deintegrate (1.0.2)
36-
cocoapods-downloader (1.2.2)
42+
netrc (~> 0.11)
43+
public_suffix
44+
typhoeus (~> 1.0)
45+
cocoapods-deintegrate (1.0.5)
46+
cocoapods-downloader (1.4.0)
3747
cocoapods-plugins (1.0.0)
3848
nap
39-
cocoapods-search (1.0.0)
40-
cocoapods-stats (1.0.0)
41-
cocoapods-trunk (1.3.1)
49+
cocoapods-search (1.0.1)
50+
cocoapods-trunk (1.5.0)
4251
nap (>= 0.8, < 2.0)
4352
netrc (~> 0.11)
44-
cocoapods-try (1.1.0)
53+
cocoapods-try (1.2.0)
4554
colored2 (3.1.2)
46-
concurrent-ruby (1.1.4)
55+
concurrent-ruby (1.1.9)
4756
escape (0.0.4)
48-
fourflusher (2.0.1)
57+
ethon (0.14.0)
58+
ffi (>= 1.15.0)
59+
ffi (1.15.3)
60+
fourflusher (2.3.1)
4961
fuzzy_match (2.0.4)
5062
gh_inspector (1.1.3)
51-
i18n (0.9.5)
63+
httpclient (2.8.3)
64+
i18n (1.8.10)
5265
concurrent-ruby (~> 1.0)
66+
json (2.5.1)
5367
minitest (5.11.3)
5468
molinillo (0.6.6)
55-
nanaimo (0.2.6)
69+
nanaimo (0.3.0)
5670
nap (1.1.0)
5771
netrc (0.11.0)
58-
ruby-macho (1.3.1)
72+
public_suffix (4.0.6)
73+
rexml (3.2.5)
74+
ruby-macho (1.4.0)
5975
thread_safe (0.3.6)
60-
tzinfo (1.2.5)
76+
typhoeus (1.4.0)
77+
ethon (>= 0.9.0)
78+
tzinfo (1.2.9)
6179
thread_safe (~> 0.1)
62-
xcodeproj (1.7.0)
80+
xcodeproj (1.21.0)
6381
CFPropertyList (>= 2.3.3, < 4.0)
6482
atomos (~> 0.1.3)
6583
claide (>= 1.0.2, < 2.0)
6684
colored2 (~> 3.1)
67-
nanaimo (~> 0.2.6)
85+
nanaimo (~> 0.3.0)
86+
rexml (~> 3.2.4)
6887

6988
PLATFORMS
7089
ruby
7190

7291
DEPENDENCIES
73-
cocoapods (~> 1.6.0beta2)
92+
cocoapods (~> 1.10.2)
7493
minitest
7594

7695
BUNDLED WITH
77-
1.17.1
96+
2.2.22

0 commit comments

Comments
 (0)