Skip to content

Commit

Permalink
ci: add compile_commands
Browse files Browse the repository at this point in the history
  • Loading branch information
futrime committed Jan 28, 2024
1 parent 9e71532 commit 26fa696
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ on:

jobs:
build:
runs-on: windows-latest
strategy:
matrix:
backend:
# - libnode
- lua
# - python310
- quickjs
runs-on: windows-latest
steps:
- uses: actions/checkout@v4

Expand Down Expand Up @@ -43,9 +43,27 @@ jobs:
check-code:
runs-on: windows-latest
strategy:
matrix:
backend:
# - libnode
- lua
# - python310
- quickjs
steps:
- uses: actions/checkout@v4

- uses: xmake-io/github-action-setup-xmake@v1

- run: |
xmake repo -u
- run: |
xmake f -a x64 -m release -p windows -v -y --backend=${{ matrix.backend }}
- run: |
xmake project -k compile_commands
- env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
id: cpp-linter-action
Expand Down

0 comments on commit 26fa696

Please sign in to comment.