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