Order File Examples #179
Workflow file for this run
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: build | |
on: | |
push: | |
branches: [ main develop ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: set up JDK 11 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 11 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: 3.x | |
- name: setup env | |
run: | |
source .ci_tools/setup_env.sh | |
# Needs to be after "setup env" because we use the clang-format shipped with the NDK. | |
- uses: pre-commit/[email protected] | |
- name: build samples | |
run: | | |
export SAMPLE_CI_RESULT=0 | |
source .ci_tools/build_samples.sh | |
source .ci_tools/run_samples.sh | |
eval "[[ $SAMPLE_CI_RESULT == 0 ]]" | |