Skip to content

Commit

Permalink
chore: add xmake ci (#133)
Browse files Browse the repository at this point in the history
I had to comment out two includes (`stdfloat` and `print`) due to CI not
using a newer version of the toolset (14.37) which includes these
features.
https://en.cppreference.com/w/cpp/compiler_support/23
  • Loading branch information
qudix authored Oct 2, 2023
1 parent 70bb498 commit 3ebdb35
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main_ci.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: Main CI
name: Main CI [CMake]

on:
pull_request:
branches: [main, feature/*]
branches: [main, feature/*, fix/*]
paths:
- "CommonLibSF/**"
workflow_dispatch:
Expand Down
31 changes: 31 additions & 0 deletions .github/workflows/main_ci_xmake.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Main CI [XMake]

on:
pull_request:
branches: [main, feature/*, fix/*]
paths:
- "CommonLibSF/**"
- "xmake.lua"

jobs:
build:
runs-on: windows-latest
strategy:
fail-fast: false
matrix:
mode: [release]

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup XMake
uses: xmake-io/[email protected]
with:
xmake-version: '2.8.2'

- name: Configure
run: xmake config -y --mode=${{ matrix.mode }} --vs_toolset=14.37

- name: Build
run: xmake build -y -vD

0 comments on commit 3ebdb35

Please sign in to comment.