diff options
Diffstat (limited to '.github/workflows/continuous-workflow.yml')
-rw-r--r-- | .github/workflows/continuous-workflow.yml | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/.github/workflows/continuous-workflow.yml b/.github/workflows/continuous-workflow.yml index f9a3f53..b6c381b 100644 --- a/.github/workflows/continuous-workflow.yml +++ b/.github/workflows/continuous-workflow.yml @@ -5,17 +5,16 @@ jobs: Compile-and-Test: runs-on: ubuntu-latest steps: - - name: Install system dependencies, xmake, etc + - name: Install system dependencies, make, etc run: | - sudo add-apt-repository ppa:xmake-io/xmake sudo apt update - sudo apt install -y xmake xorg-dev libglu1-mesa-dev clang-format + 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: find src/ -iname *.h -o -iname *.c | xargs clang-format --style=file --dry-run --Werror + run: make format-check - name: Compile C code - run: xmake build -y + run: make |