Skip to content

[feature] add ilias_wait and net unit test #97

[feature] add ilias_wait and net unit test

[feature] add ilias_wait and net unit test #97

name: CI for linux by xmake
on:
push:
branches: [ "*" ]
pull_request:
branches: [ "*" ]
jobs:
build:
name: Build standard
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: setup xmake
uses: xmake-io/github-action-setup-xmake@v1
with:
# The version to use. Should be a semver range or 'latest'. Or use branch@{branch_name} to select a branch.
xmake-version: latest
- name: Update apt
run: sudo apt update -y
- name: Install dependencies
run: sudo apt install -y lcov
- name: Configure
run: xmake f -m coverage --use_fmt=y -y
- name: Build
run: xmake -y
- name: Run Test and collect coverage
run: xmake test -v
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
verbose: true
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}