chore: 更新库安装说明和配置文件以适应不同操作系统
#66
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: C/C++ CI | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install cjson and ncurses | |
run: sudo apt-get update && sudo apt-get install -y libcjson1 libcjson-dev libncurses5-dev libmicrohttpd-dev | |
- name: configure | |
run: ./configure | |
- name: make | |
run: make | |
- name: make check | |
run: make check | |
- name: make distcheck | |
run: make distcheck |