From 05bb79d4a95bbca9ef6b31768723f831a8588f0a Mon Sep 17 00:00:00 2001 From: Persson-dev Date: Sat, 24 May 2025 10:59:12 +0000 Subject: [PATCH] Add CI (#3) Reviewed-on: https://git.ale-pri.com/TetrisNerd/jminos/pulls/3 Co-authored-by: Persson-dev Co-committed-by: Persson-dev --- .github/workflows/ubuntu.yml | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 .github/workflows/ubuntu.yml diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml new file mode 100644 index 0000000..3a73fbb --- /dev/null +++ b/.github/workflows/ubuntu.yml @@ -0,0 +1,36 @@ +name: Linux arm64 +run-name: Build And Test + +on: [push] + + +env: + XMAKE_ROOT: y + +jobs: + Build: + runs-on: ubuntu-latest + steps: + - name: Check out repository code + uses: actions/checkout@v3 + + - name: Prepare XMake + uses: xmake-io/github-action-setup-xmake@v1 + with: + xmake-version: latest + actions-cache-folder: '.xmake-cache' + actions-cache-key: 'ubuntu' + + - name: Install SFML + run: | + apt update + apt install -y libsfml-dev + + - name: XMake config + run: xmake f -p linux -y + + - name: Build + run: xmake + + - name: Test + run: xmake test \ No newline at end of file