Skip to content

Commit

Permalink
chore: add xmake ci
Browse files Browse the repository at this point in the history
  • Loading branch information
qudix committed Oct 2, 2023
1 parent ba814d9 commit c9b0aca
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main_ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Main CI
name: Main CI [CMake]

on:
pull_request:
Expand Down
26 changes: 26 additions & 0 deletions .github/workflows/main_ci_xmake.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit c9b0aca

Please sign in to comment.