Skip to content

Commit

Permalink
feat: add xmake workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
shad0wshayd3 committed Nov 14, 2024
1 parent 552fa87 commit 4c8baa4
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/main_ci_xmake.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 4c8baa4

Please sign in to comment.