mirror of
https://github.com/apache/cordova-plugin-screen-orientation.git
synced 2025-05-07 19:05:38 +08:00
ci(gh-action): sync with paramedic configs (#123)
This commit is contained in:
parent
601400627e
commit
ba3550161e
14
.github/workflows/android.yml
vendored
14
.github/workflows/android.yml
vendored
@ -57,8 +57,8 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
versions:
|
versions:
|
||||||
# Test the lowest minimum supported APIs
|
# Test the lowest minimum supported APIs
|
||||||
- android: 5.1
|
- android: 7
|
||||||
android-api: 22
|
android-api: 24
|
||||||
|
|
||||||
# Test the last 3-4 supported APIs
|
# Test the last 3-4 supported APIs
|
||||||
- android: 10
|
- android: 10
|
||||||
@ -67,12 +67,12 @@ jobs:
|
|||||||
- android: 11
|
- android: 11
|
||||||
android-api: 30
|
android-api: 30
|
||||||
|
|
||||||
- android: 12
|
|
||||||
android-api: 31
|
|
||||||
|
|
||||||
- android: 12L
|
- android: 12L
|
||||||
android-api: 32
|
android-api: 32
|
||||||
|
|
||||||
|
- android: 13
|
||||||
|
android-api: 33
|
||||||
|
|
||||||
timeout-minutes: 60
|
timeout-minutes: 60
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
@ -105,7 +105,7 @@ jobs:
|
|||||||
if: ${{ endswith(env.repo, '/cordova-paramedic') != true }}
|
if: ${{ endswith(env.repo, '/cordova-paramedic') != true }}
|
||||||
run: npm i -g github:apache/cordova-paramedic
|
run: npm i -g github:apache/cordova-paramedic
|
||||||
|
|
||||||
- uses: reactivecircus/android-emulator-runner@5de26e4bd23bf523e8a4b7f077df8bfb8e52b50e
|
- uses: reactivecircus/android-emulator-runner@d94c3fbe4fe6a29e4a5ba47c12fb47677c73656b
|
||||||
env:
|
env:
|
||||||
system-image-arch: ${{ matrix.versions.system-image-arch == '' && env.default_system-image-arch || matrix.versions.system-image-arch }}
|
system-image-arch: ${{ matrix.versions.system-image-arch == '' && env.default_system-image-arch || matrix.versions.system-image-arch }}
|
||||||
system-image-target: ${{ matrix.versions.system-image-target == '' && env.default_system-image-target || matrix.versions.system-image-target }}
|
system-image-target: ${{ matrix.versions.system-image-target == '' && env.default_system-image-target || matrix.versions.system-image-target }}
|
||||||
@ -119,7 +119,7 @@ jobs:
|
|||||||
script: echo "Pregenerate the AVD before running Paramedic"
|
script: echo "Pregenerate the AVD before running Paramedic"
|
||||||
|
|
||||||
- name: Run paramedic tests
|
- name: Run paramedic tests
|
||||||
uses: reactivecircus/android-emulator-runner@5de26e4bd23bf523e8a4b7f077df8bfb8e52b50e
|
uses: reactivecircus/android-emulator-runner@d94c3fbe4fe6a29e4a5ba47c12fb47677c73656b
|
||||||
env:
|
env:
|
||||||
system-image-arch: ${{ matrix.versions.system-image-arch == '' && env.default_system-image-arch || matrix.versions.system-image-arch }}
|
system-image-arch: ${{ matrix.versions.system-image-arch == '' && env.default_system-image-arch || matrix.versions.system-image-arch }}
|
||||||
system-image-target: ${{ matrix.versions.system-image-target == '' && env.default_system-image-target || matrix.versions.system-image-target }}
|
system-image-target: ${{ matrix.versions.system-image-target == '' && env.default_system-image-target || matrix.versions.system-image-target }}
|
||||||
|
6
.github/workflows/chrome.yml
vendored
6
.github/workflows/chrome.yml
vendored
@ -42,8 +42,8 @@ jobs:
|
|||||||
node-version: 16
|
node-version: 16
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
- uses: actions/setup-node@v2
|
- uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: ${{ env.node-version }}
|
node-version: ${{ env.node-version }}
|
||||||
|
|
||||||
@ -61,7 +61,7 @@ jobs:
|
|||||||
npm ci
|
npm ci
|
||||||
|
|
||||||
- name: Run paramedic install
|
- name: Run paramedic install
|
||||||
if: ${{ endswith(env.repo, '/cordova-paramedic') != true }}
|
if: ${{ endswith(env.repo, '/cordova-paramedic') != true }}
|
||||||
run: npm i -g github:apache/cordova-paramedic
|
run: npm i -g github:apache/cordova-paramedic
|
||||||
|
|
||||||
- name: Run paramedic tests
|
- name: Run paramedic tests
|
||||||
|
10
.github/workflows/ios.yml
vendored
10
.github/workflows/ios.yml
vendored
@ -62,12 +62,16 @@ jobs:
|
|||||||
ios-version: 15.x
|
ios-version: 15.x
|
||||||
xcode-version: 13.x
|
xcode-version: 13.x
|
||||||
|
|
||||||
|
- os-version: macos-12
|
||||||
|
ios-version: 16.x
|
||||||
|
xcode-version: 14.x
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
- uses: actions/setup-node@v2
|
- uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: ${{ env.node-version }}
|
node-version: ${{ env.node-version }}
|
||||||
- uses: maxim-lobanov/setup-xcode@881be567d30efed8fb3f12b5099d68c3fb72aa3d
|
- uses: maxim-lobanov/setup-xcode@9a697e2b393340c3cacd97468baa318e4c883d98
|
||||||
env:
|
env:
|
||||||
xcode-version: ${{ matrix.versions.xcode-version == '' && env.default_xcode-version || matrix.versions.xcode-version }}
|
xcode-version: ${{ matrix.versions.xcode-version == '' && env.default_xcode-version || matrix.versions.xcode-version }}
|
||||||
with:
|
with:
|
||||||
|
4
.github/workflows/lint.yml
vendored
4
.github/workflows/lint.yml
vendored
@ -37,8 +37,8 @@ jobs:
|
|||||||
node-version: 16
|
node-version: 16
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
- uses: actions/setup-node@v2
|
- uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: ${{ env.node-version }}
|
node-version: ${{ env.node-version }}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user