forked from aria2/aria2
-
Notifications
You must be signed in to change notification settings - Fork 0
53 lines (43 loc) · 1.1 KB
/
makefile.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
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.