From e1b9ca338c86b98b138b6fa8bf6c8ab792ea5bb9 Mon Sep 17 00:00:00 2001 From: Daniel Imhoff Date: Wed, 24 Jun 2020 15:26:38 -0700 Subject: [PATCH 1/6] test multiple xcodes --- .github/workflows/ci.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5966c8475..33709076a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -52,10 +52,16 @@ jobs: test-ios: runs-on: macos-latest timeout-minutes: 30 + strategy: + matrix: + xcode: + - /Applications/Xcode_11.6_beta.app + - /Applications/Xcode_11.5.app defaults: run: working-directory: ./ios steps: + - run: xcode-select --select ${{ matrix.xcode }} - uses: actions/checkout@v2 - run: pod lib lint --allow-warnings Capacitor.podspec - run: pod lib lint --allow-warnings CapacitorCordova.podspec From 527a83f4d774e49a6cc5b0849e2c35b523ab1bee Mon Sep 17 00:00:00 2001 From: Daniel Imhoff Date: Wed, 24 Jun 2020 15:39:56 -0700 Subject: [PATCH 2/6] sudo switch --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 33709076a..42d728e8d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -61,7 +61,7 @@ jobs: run: working-directory: ./ios steps: - - run: xcode-select --select ${{ matrix.xcode }} + - run: sudo xcode-select --switch ${{ matrix.xcode }} - uses: actions/checkout@v2 - run: pod lib lint --allow-warnings Capacitor.podspec - run: pod lib lint --allow-warnings CapacitorCordova.podspec From 997e6117b1dae16bee085756da24f4505153c50d Mon Sep 17 00:00:00 2001 From: Daniel Imhoff Date: Wed, 24 Jun 2020 15:42:15 -0700 Subject: [PATCH 3/6] ls --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 42d728e8d..61a4c0577 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -61,6 +61,7 @@ jobs: run: working-directory: ./ios steps: + - run: sudo ls -al /Applications - run: sudo xcode-select --switch ${{ matrix.xcode }} - uses: actions/checkout@v2 - run: pod lib lint --allow-warnings Capacitor.podspec From fec2b1734f0e0169dc67bccb45a58127e4ba8acc Mon Sep 17 00:00:00 2001 From: Daniel Imhoff Date: Wed, 24 Jun 2020 16:07:29 -0700 Subject: [PATCH 4/6] which sudo --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 61a4c0577..2221ac265 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -61,6 +61,7 @@ jobs: run: working-directory: ./ios steps: + - run: which sudo - run: sudo ls -al /Applications - run: sudo xcode-select --switch ${{ matrix.xcode }} - uses: actions/checkout@v2 From b3393862cfb299ef90f29da35ffe25d4d1a3565b Mon Sep 17 00:00:00 2001 From: Daniel Imhoff Date: Wed, 24 Jun 2020 16:15:13 -0700 Subject: [PATCH 5/6] wip --- .github/workflows/ci.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2221ac265..e40399306 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -57,16 +57,13 @@ jobs: xcode: - /Applications/Xcode_11.6_beta.app - /Applications/Xcode_11.5.app - defaults: - run: - working-directory: ./ios steps: - - run: which sudo - - run: sudo ls -al /Applications - run: sudo xcode-select --switch ${{ matrix.xcode }} - uses: actions/checkout@v2 - - run: pod lib lint --allow-warnings Capacitor.podspec - - run: pod lib lint --allow-warnings CapacitorCordova.podspec + - run: | + pod lib lint --allow-warnings Capacitor.podspec + pod lib lint --allow-warnings CapacitorCordova.podspec + working-directory: ./ios test-android: runs-on: ubuntu-latest timeout-minutes: 30 From c393b42aad290fc21d2e546425e014bf7d879ad2 Mon Sep 17 00:00:00 2001 From: Daniel Imhoff Date: Wed, 24 Jun 2020 16:17:51 -0700 Subject: [PATCH 6/6] section for each --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e40399306..ea71448c9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -60,9 +60,9 @@ jobs: steps: - run: sudo xcode-select --switch ${{ matrix.xcode }} - uses: actions/checkout@v2 - - run: | - pod lib lint --allow-warnings Capacitor.podspec - pod lib lint --allow-warnings CapacitorCordova.podspec + - run: pod lib lint --allow-warnings Capacitor.podspec + working-directory: ./ios + - run: pod lib lint --allow-warnings CapacitorCordova.podspec working-directory: ./ios test-android: runs-on: ubuntu-latest