Start to use GitHub Action (#432)

This commit is contained in:
Mingshen Sun 2020-12-23 20:26:58 -08:00 committed by GitHub
parent 7c558a893a
commit df80d2e431
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 185 additions and 60 deletions

22
.github/workflows/testing.yml vendored Normal file
View 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