Start to use GitHub Action (#432)
This commit is contained in:
parent
7c558a893a
commit
df80d2e431
11 changed files with 185 additions and 60 deletions
22
.github/workflows/testing.yml
vendored
Normal file
22
.github/workflows/testing.yml
vendored
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
name: Testing
|
||||
|
||||
on: pull_request
|
||||
|
||||
jobs:
|
||||
testing:
|
||||
runs-on: macos-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Installing packages
|
||||
run: |
|
||||
brew install libtool automake cmake carthage go@1.14 swiftlint swiftformat
|
||||
gem install bundler
|
||||
- name: Preparing dependencies
|
||||
run: |
|
||||
export PATH="/usr/local/opt/go@1.14/bin:$PATH"
|
||||
bundle install
|
||||
bundle exec pod install
|
||||
./wcarthage bootstrap --platform iOS
|
||||
./gopenpgp_build.sh
|
||||
- name: Testing
|
||||
run: bundle exec fastlane test
|
||||
Loading…
Add table
Add a link
Reference in a new issue