Update c.yml #5
Workflow file for this run
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: | |
workflow_dispatch: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: environment | |
run: sudo apt update -y && sudo apt install -y make autoconf automake autotools-dev libtool gcc | |
- name: libraries | |
run: sudo apt update -y && sudo apt install -y libc-ares-dev zlib1g-dev libicu-dev libssl-dev libnghttp2-dev | |
- name: autogen | |
run: ./autogen.sh | |
- name: configure | |
run: ./configure --prefix=$PREFIX --with-ca-bundle=/var/lib/certs/ca-bundle.crt --with-ca-path=/etc/ssl/certs | |
- name: make | |
run: make | |
- name: make check | |
run: make check |