summaryrefslogtreecommitdiff
path: root/.github/workflows/continuous-workflow.yml
blob: b6c381be66f3cb18603f474675136995cc005c31 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
name: GitHub Actions Demo
run-name: ${{ github.actor }} pushed a new commit
on: [push]
jobs:
  Compile-and-Test:
    runs-on: ubuntu-latest
    steps:
      - name: Install system dependencies, make, etc
        run: |
          sudo apt update
          sudo apt install -y xorg-dev libglfw3-dev libglu1-mesa-dev clang-format make
      - name: Check out repository code
        uses: actions/checkout@v4
      - name: List files in the repository
        run: |
          ls ${{ github.workspace }}
      - name: Check formatting
        run: make format-check
      - name: Compile C code
        run: make