Create pull.yml #8
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: Makefile CI | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: linux deps | |
run: | | |
sudo apt-get install \ | |
g++-11 \ | |
clang-12 \ | |
autoconf \ | |
automake \ | |
autotools-dev \ | |
autopoint \ | |
libtool \ | |
pkg-config \ | |
libssl-dev \ | |
libc-ares-dev \ | |
zlib1g-dev \ | |
libsqlite3-dev \ | |
libssh2-1-dev \ | |
libcppunit-dev | |
- name: autoreconf | |
run: autoreconf -i | |
- name: configure with binary | |
run: ./configure ARIA2_STATIC=yes | |
- name: make | |
run: make -j$(nproc) | |
- name: aria2 binary upload | |
uses: actions/[email protected] | |
with: | |
# Artifact name | |
#name: # optional, default is artifact | |
# A file, directory or wildcard pattern that describes what to upload | |
path: ./src/aria2c | |
# The desired behavior if no files are found using the provided path. |