diff --git a/workflows/ci.yml b/workflows/ci.yml index 8b137891..353563fd 100644 --- a/workflows/ci.yml +++ b/workflows/ci.yml @@ -1 +1,22 @@ +name: CI +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + + - name: Setup Environment + run: sudo apt-get update && sudo apt-get install -y <依赖包名称> + + - name: Build + run: make + + - name: Test + run: make test