From c9b0aca1606b5c8f3c4ffafa09cf20fc0850371b Mon Sep 17 00:00:00 2001 From: Qudix <17361645+Qudix@users.noreply.github.com> Date: Sun, 1 Oct 2023 21:47:44 -0500 Subject: [PATCH] chore: add xmake ci --- .github/workflows/main_ci.yml | 2 +- .github/workflows/main_ci_xmake.yml | 26 ++++++++++++++++++++++++++ 2 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/main_ci_xmake.yml diff --git a/.github/workflows/main_ci.yml b/.github/workflows/main_ci.yml index 527b5786..ac047063 100644 --- a/.github/workflows/main_ci.yml +++ b/.github/workflows/main_ci.yml @@ -1,4 +1,4 @@ -name: Main CI +name: Main CI [CMake] on: pull_request: diff --git a/.github/workflows/main_ci_xmake.yml b/.github/workflows/main_ci_xmake.yml new file mode 100644 index 00000000..0aac64bc --- /dev/null +++ b/.github/workflows/main_ci_xmake.yml @@ -0,0 +1,26 @@ +name: Main CI [XMake] + +on: [push] + +jobs: + build: + runs-on: windows-latest + stategy: + fail-fast: false + matrix: + mode: [release] + + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Setup XMake + uses: xmake-io/github-action-setup-xmake@latest + with: + xmake-version: '2.8.2' + + - name: Configure + run: xmake config --mode=${{ matrix.mode }} + + - name: Build + run: xmake build -y -vD