Skip to content

build/cmake: love/hate #328

build/cmake: love/hate

build/cmake: love/hate #328

Workflow file for this run

#
# Android Workflow
#
# https://github.com/filipdutescu/modern-cpp-template/blob/master/.github/workflows
name: Android
on:
push:
branches: [ release, next ]
pull_request:
branches: [ release, next ]
jobs:
build:
strategy:
fail-fast: false
matrix:
install_location:
- .local
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, '[skip ci]') && !contains(github.event.head_commit.message, '[skip ci android]')"
steps:
- uses: actions/checkout@v3
- name: Setup Cache
uses: actions/cache@v3
id: cache
with:
path: |
${{github.workspace}}/${{matrix.install_location}}
${{github.workspace}}/build/out
${{github.workspace}}/cmake
key: ${{runner.os}}-dependencies
- name: Setup NDK
uses: nttld/setup-ndk@v1
with:
ndk-version: r25b
# Always add to path. Otherwise,
# the wrong standard headers are found.
add-to-path: true
local-cache: true
- name: Build
run: |
build/build android --no-build-test --no-run-test --no-run-bench