[feature] add ilias_wait and net unit test #97
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |