Add testing and make jenkins happy #4
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: curl Test | |
on: | |
push: | |
workflow_call: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@master | |
- name: autogen | |
run: ./autogen.sh | |
- name: configure | |
run: ./configure --enable-all | |
- name: make | |
run: make | |
- name: install | |
run: sudo make install | |
- uses: actions/checkout@master | |
with: | |
repository: curl/curl | |
path: curl | |
- name: Install test dependency | |
working-directory: ./curl | |
run: sudo apt-get install nghttp2 | |
- name: curl buildconf | |
working-directory: ./curl | |
run: ./buildconf | |
- name: curl configure | |
working-directory: ./curl | |
run: ./configure --with-wolfssl | |
- name: curl make | |
working-directory: ./curl | |
run: make | |
- name: curl unit tests | |
working-directory: ./curl | |
run: make test | |