diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 000000000..0f0610934 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,20 @@ +name: CI + +on: + push: + branches: + - develop + +jobs: + xcode: + runs-on: macos-11 + strategy: + matrix: + xcode: ["12.5.1", "13.2.1"] + fail-fast: false + name: Xcode ${{ matrix.xcode }} + env: + DEVELOPER_DIR: "/Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer" + steps: + - uses: actions/checkout@v2 + - run: xcodebuild clean build test -workspace ActionSheetPicker-3.0.xcworkspace -scheme CoreActionSheetPicker -sdk iphonesimulator -destination "name=iPhone 11 Pro" | xcpretty -c diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 28a5e1c73..000000000 --- a/.travis.yml +++ /dev/null @@ -1,10 +0,0 @@ -language: objective-c -osx_image: xcode12.2 -script: - - xcodebuild clean build test -workspace ActionSheetPicker-3.0.xcworkspace -scheme CoreActionSheetPicker -sdk iphonesimulator -destination "platform=iOS Simulator,OS=14.2,name=iPhone 11 Pro" ONLY_ACTIVE_ARCH=NO -notifications: - email: - recipients: - - sky4winder+actionSheetPicker@gmail.com - on_success: never # [always|never|change] - on_failure: change # [always|never|change]