diff --git a/.github/workflows/main_ci_xmake.yml b/.github/workflows/main_ci_xmake.yml new file mode 100644 index 00000000..c7095ae7 --- /dev/null +++ b/.github/workflows/main_ci_xmake.yml @@ -0,0 +1,38 @@ +name: Main CI [XMake] + +on: + push: + branches: [ master ] + paths: + - ".github/workflows/main_ci_xmake.yml" + - "include/**" + - "src/**" + - "xmake.lua" + - "xmake-extra.lua" + pull_request: + branches: [ master ] + workflow_dispatch: + +jobs: + build-xmake: + runs-on: windows-latest + strategy: + fail-fast: false + matrix: + mode: + - debug + - release + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Setup XMake + uses: xmake-io/github-action-setup-xmake@v1 + with: + xmake-version: "latest" + + - name: Configure + run: xmake config -y --mode=${{ matrix.mode }} --vs_toolset=14.41 + + - name: Build + run: xmake build -y -vD