name: build ab
on:
  - push
jobs:
  build-linux:
    runs-on: ubuntu-latest
    steps:
      - name: Install dependencies
        run: |
          sudo apt-get update
          sudo apt-get install build-essential cmake libfmt-dev python3-pip ninja-build ragel
          sudo pip install pyyaml jinja2
      - name: checkout
        uses: actions/checkout@master
        with:
          fetch-depth: 1
          submodules: true
      - name: Configure
        run: mkdir build && cd build && cmake -Wdev -GNinja -DAB_COLOR_DIAGNOSTICS=on ..
      - name: Build
        run: cd build && ninja
      - name: Test
        run: cd build && ctest -V
        env:
          GTEST_COLOR: yes

name: build ab
on:
  - push
jobs:
  build-linux:
    runs-on: ubuntu-latest
    steps:
      - name: Install dependencies
        run: |
          sudo apt-get update
          sudo apt-get install build-essential cmake libfmt-dev python3-pip ninja-build ragel
          sudo pip install pyyaml jinja2
      - name: checkout
        uses: actions/checkout@master
        with:
          submodules: true
      - name: Configure
        run: mkdir build && cd build && cmake -Wdev -GNinja -DAB_COLOR_DIAGNOSTICS=on ..
      - name: Build
        run: cd build && ninja
      - name: Test
        run: cd build && ctest -V
        env:
          GTEST_COLOR: yes

Remove shallow fetch depth, doesn't work with submodules
Remove shallow fetch depth, doesn't work with submodules

Signed-off-by: Robert Young <42c59959a3f4413d6a1b4d7b4f99db457d199e49@gmail.com>
