Skip to content

Commit

Permalink
build: update c/cpp workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
lc-soft committed Dec 13, 2023
1 parent 767c151 commit 221e593
Showing 1 changed file with 8 additions and 11 deletions.
19 changes: 8 additions & 11 deletions .github/workflows/ccpp.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,18 @@
name: C/C++ CI

on: [push]

on: [push, pull_request]
jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- name: install xmake
uses: xmake-io/[email protected]
- uses: xmake-io/github-action-setup-xmake@v1
- name: install lcui-cli
run: npm install -g @lcui/cli
- name: setup
run: |
git submodule sync --recursive
git submodule update --init --recursive
- name: lcui-cli
run: lcui compile ./src
- name: xmake
run: xmake
- name: build
run: |
lcui compile ./src
xmake

0 comments on commit 221e593

Please sign in to comment.