Skip to content

docs: update README.md #64

docs: update README.md

docs: update README.md #64

Workflow file for this run

name: C/C++ CI
on: [push, pull_request]
jobs:
build:
timeout-minutes: 10
strategy:
fail-fast: false
matrix:
os: ['ubuntu-latest', 'windows-latest']
runs-on: ${{ matrix.os }}
name: "Builds binaries on ${{ matrix.os }}"
steps:
- uses: actions/checkout@v1
- uses: xmake-io/github-action-setup-xmake@v1
- name: Update submodules
run: |
git submodule sync --recursive
git submodule update --init --recursive
- name: Install packages
run: |
npm install
npm install -g @lcui/cli@beta
- name: Restore xmake packages
uses: actions/cache@v3
with:
path: ~/.xmake/.cache/packages
key: ${{ runner.os }}-xmake-packages
- name: Build
run: |
lcui compile ./src
xmake config -y -v
xmake -v
- name: Package
run: |
xmake install -o dist
mv dist/bin/* app
- uses: actions/upload-artifact@master
with:
name: package (${{ runner.os }})
path: app
- name: Cache xmake packages
uses: actions/cache@v3
with:
path: ~/.xmake/.cache/packages
key: ${{ runner.os }}-xmake-packages