forked from leavez/cocoapods-binary
-
Notifications
You must be signed in to change notification settings - Fork 7
32 lines (30 loc) · 781 Bytes
/
tests.yml
File metadata and controls
32 lines (30 loc) · 781 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: Tests
on: [push]
jobs:
build:
runs-on: macos-latest
steps:
- name: Cache multiple paths
uses: actions/cache@v2
with:
path: |
cocoapods
bundler
key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }}
- uses: maxim-lobanov/[email protected]
with:
xcode-version: '12.2'
- uses: actions/checkout@v1
- name: Set up Ruby 2.6
uses: actions/setup-ruby@v1
with:
ruby-version: 2.6.x
- name: Test
run: |
gem install bundler
bundle install --path=${BUNDLE_PATH:-vendor/bundle}
bundle exec pod setup
rake install
cd test
sh test.sh
cd ..