ci: sync github action workflow w/ paramedic base configs (#362)

This commit is contained in:
エリス 2023-07-12 21:48:39 +09:00 committed by GitHub
parent fb684c6219
commit 06335fea28
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 19 additions and 15 deletions

View File

@ -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 }}
@ -126,7 +126,7 @@ jobs:
working-directory: ./tests/server working-directory: ./tests/server
- 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 }}

View File

@ -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
# PLUGIN'S EXTRA STEP # PLUGIN'S EXTRA STEP

View File

@ -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:

View File

@ -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 }}