Update dependencies #302
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
test: | |
strategy: | |
matrix: | |
include: | |
- os: ubuntu-22.04 | |
platform: linux | |
arch: x64 | |
- os: ubuntu-22.04-arm64 | |
platform: linux | |
arch: arm64 | |
- os: ubuntu-22.04 | |
platform: android | |
arch: x64 | |
flags: -D ANDROID_STL=c++_static | |
- os: ubuntu-22.04 | |
platform: android | |
arch: ia32 | |
flags: -D ANDROID_STL=c++_static | |
- os: ubuntu-22.04 | |
platform: android | |
arch: arm64 | |
flags: -D ANDROID_STL=c++_static | |
- os: ubuntu-22.04 | |
platform: android | |
arch: arm | |
flags: -D ANDROID_STL=c++_static | |
- os: macos-14 | |
platform: darwin | |
arch: x64 | |
flags: --sanitize address | |
- os: macos-14 | |
platform: darwin | |
arch: arm64 | |
flags: --sanitize address | |
- os: macos-14 | |
platform: ios | |
arch: arm64 | |
- os: macos-14 | |
platform: ios | |
arch: arm64 | |
tags: -simulator | |
flags: --simulator | |
- os: macos-14 | |
platform: ios | |
arch: x64 | |
tags: -simulator | |
flags: --simulator | |
- os: windows-2022 | |
platform: win32 | |
arch: x64 | |
- os: windows-2022 | |
platform: win32 | |
arch: arm64 | |
runs-on: ${{ matrix.os }} | |
name: ${{ matrix.platform }}-${{ matrix.arch }}${{ matrix.tags }} | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- uses: actions/cache@v4 | |
with: | |
path: build/corestore | |
key: corestore-${{ matrix.platform }}-${{ matrix.arch }}${{ matrix.tags }} | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: lts/* | |
- run: npm install -g bare-make | |
- run: npm install | |
- run: bare-make generate --platform ${{ matrix.platform }} --arch ${{ matrix.arch }} --debug ${{ matrix.flags }} | |
- run: bare-make build | |
- run: bare-make test | |
if: ${{ matrix.platform == 'linux' || matrix.platform == 'darwin' || (matrix.platform == 'win32' && matrix.arch == 'x64') }} |