From dc396d5822c83bf5225c11f1d851efc94a44cc59 Mon Sep 17 00:00:00 2001 From: Econa77 Date: Fri, 11 Feb 2022 17:44:26 +0900 Subject: [PATCH 1/3] Migrate CI from TravisCI to GitHubActions --- .github/workflows/ci.yml | 23 +++++++++++++++++++++++ .travis.yml | 10 ---------- 2 files changed, 23 insertions(+), 10 deletions(-) create mode 100644 .github/workflows/ci.yml delete mode 100644 .travis.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 000000000..b3ba969e6 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,23 @@ +name: CI + +on: + push: + branches: + - develop + - master + pull_request: + workflow_dispatch: + +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] From 922f0867d93ef7fb8382153210bfffcd124859df Mon Sep 17 00:00:00 2001 From: Wei <41205mw@gmail.com> Date: Wed, 31 Jan 2024 18:06:04 +0800 Subject: [PATCH 2/3] Update .github/workflows/ci.yml --- .github/workflows/ci.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b3ba969e6..bbff01932 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,9 +4,7 @@ on: push: branches: - develop - - master pull_request: - workflow_dispatch: jobs: xcode: From 50a294845254cee95d3138edc2d2cd9b66be6b6f Mon Sep 17 00:00:00 2001 From: Wei <41205mw@gmail.com> Date: Wed, 31 Jan 2024 18:08:55 +0800 Subject: [PATCH 3/3] Update .github/workflows/ci.yml --- .github/workflows/ci.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bbff01932..0f0610934 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,7 +4,6 @@ on: push: branches: - develop - pull_request: jobs: xcode: