Skip to content

Merge pull request #483 from nttld/dependabot/npm_and_yarn/actions/ca… #815

Merge pull request #483 from nttld/dependabot/npm_and_yarn/actions/ca…

Merge pull request #483 from nttld/dependabot/npm_and_yarn/actions/ca… #815

Workflow file for this run

name: Test
on:
pull_request:
push:
branches:
- main
- 'releases/*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: npm ci
- run: npm run all
test-single:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
ndk-version: [r21e, r25b]
local-cache: [true, false]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: ./
id: install-ndk
with:
ndk-version: ${{ matrix.ndk-version }}
local-cache: ${{ matrix.local-cache }}
- run: ndk-build --version
- run: ${{ steps.install-ndk.outputs.ndk-path }}/ndk-build --version
test-multiple:
runs-on: ubuntu-latest
strategy:
matrix:
local-cache: [true, false]
steps:
- uses: actions/checkout@v3
- uses: ./
id: install-ndk-21
with:
ndk-version: r21e
add-to-path: false
local-cache: ${{ matrix.local-cache }}
- uses: ./
id: install-ndk-23
with:
ndk-version: r25b
add-to-path: false
local-cache: ${{ matrix.local-cache }}
- run: '! which ndk-build'
- run: ${{ steps.install-ndk-21.outputs.ndk-path }}/ndk-build --version
- run: ${{ steps.install-ndk-23.outputs.ndk-path }}/ndk-build --version