summaryrefslogtreecommitdiff
path: root/.github/workflows/continuous-workflow.yml
diff options
context:
space:
mode:
authorOmniscient <17525998+omnisci3nce@users.noreply.github.com>2024-02-25 13:40:56 +1100
committerOmniscient <17525998+omnisci3nce@users.noreply.github.com>2024-02-25 13:40:56 +1100
commitc7957d8ba4c1fe25362f8a033d39acc90de56a0f (patch)
tree0398ce359b882fa381519c7c2d5b26c223a26de6 /.github/workflows/continuous-workflow.yml
parent80a734de03eaf3d534f95010653c47bf54389f48 (diff)
parent64f23d9726c55d5c965f123ffc5b6ca47ec1f475 (diff)
Merge branch 'master' into feature/some-string-utils
Diffstat (limited to '.github/workflows/continuous-workflow.yml')
-rw-r--r--.github/workflows/continuous-workflow.yml23
1 files changed, 23 insertions, 0 deletions
diff --git a/.github/workflows/continuous-workflow.yml b/.github/workflows/continuous-workflow.yml
new file mode 100644
index 0000000..891270b
--- /dev/null
+++ b/.github/workflows/continuous-workflow.yml
@@ -0,0 +1,23 @@
+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, xmake, 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
+ - 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
+ - name: Compile C code
+ run: xmake build -y
+ # - name: Run tests
+ # run: xmake run -g tests