Files
pylon/.github/workflows/build.yml
travisladuke 56133bb8d2 Add a lint command to the Makefile
for now, it just checks formatting
2023-07-27 14:07:48 -07:00

28 lines
567 B
YAML

name: Build
on:
push:
paths-ignore::
- "README.md"
jobs:
lint:
name: Run lint checks
runs-on: [ ubuntu-latest ]
steps:
- name: Lint
uses: actions/checkout@v3.5.3
- run: make lint
build_matrix:
needs: lint
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
target: [debug, release]
runs-on: ${{ matrix.os }}
steps:
- name: Build ${{ matrix.os }} - ${{ matrix.target }}
timeout-minutes: 6
uses: actions/checkout@v3.5.3
- run: make ${{ matrix.target }}