Replace OBSOLETE_FORAMT with OBSOLETE_FORMAT #1997
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: Presubmit | |
on: [push, pull_request] | |
jobs: | |
build: | |
name: Build ${{ matrix.os }} ${{ matrix.name }} | |
runs-on: ${{ matrix.os }} | |
env: | |
JOB_ARCHITECTURE: ${{ matrix.arch }} | |
JOB_ENABLE_GL: ${{ matrix.gl }} | |
strategy: | |
matrix: | |
mainmatrix: [true] | |
os: [ubuntu-20.04, macos-latest] | |
include: | |
- os: ubuntu-20.04 | |
mainmatrix: true | |
gl: 1 | |
- os: ubuntu-20.04 | |
mainmatrix: false | |
name: Arm | |
arch: arm | |
- os: ubuntu-20.04 | |
mainmatrix: false | |
name: AArch64 | |
arch: aarch64 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Build | |
run: ./presubmit.sh | |
formatcheck: | |
name: Check code format | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Install packages | |
run: sudo apt install -y clang-format clang-format-9 | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Check code format | |
run: ./check-format.sh |