From 7c8c795b710e0f7ec2d6c7a88486586eecf92146 Mon Sep 17 00:00:00 2001 From: Persson-dev Date: Sun, 29 Sep 2024 00:20:33 +0200 Subject: [PATCH] xmake power --- .gitea/workflows/linux.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/linux.yml b/.gitea/workflows/linux.yml index f80c353..0703afd 100644 --- a/.gitea/workflows/linux.yml +++ b/.gitea/workflows/linux.yml @@ -12,10 +12,17 @@ jobs: with: submodules: "recursive" + - name: 🍗 Setup XMake + uses: xmake-io/github-action-setup-xmake@v1 + with: + xmake-version: latest + actions-cache-folder: '.xmake-cache' + actions-cache-key: 'xmake-ubuntu' + - name: 🏗️ Build run: | - cmake -DCMAKE_BUILD_TYPE=Release -B build - cmake --build build + xmake f -m release --trybuild=cmake + xmake - name: 🚀 Upload uses: actions/upload-artifact@v4