File tree 2 files changed +8
-4
lines changed 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 3
3
push :
4
4
tags :
5
5
- ' *'
6
+ branches :
7
+ - main
8
+ pull_request :
6
9
jobs :
7
10
build :
8
11
name : Build the wget binary
23
26
name : Publish the wget binary
24
27
runs-on : ubuntu-latest
25
28
needs : build
29
+ if : startsWith(github.ref, 'refs/tags/v')
26
30
steps :
27
31
- name : Fetch the built binary
28
32
uses : actions/download-artifact@v2
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ rm nettle.tar.gz
45
45
--disable-shared \
46
46
--disable-documentation \
47
47
--disable-assembler
48
- make
48
+ make -j $( nproc )
49
49
make install
50
50
51
51
popd
@@ -69,7 +69,7 @@ rm gnutls.tar.xz
69
69
--with-included-libtasn1 \
70
70
--with-included-unistring \
71
71
--without-p11-kit
72
- make
72
+ make -j $( nproc )
73
73
make install
74
74
75
75
popd
@@ -84,11 +84,11 @@ fetch https://ftp.gnu.org/gnu/wget/wget-1.21.1.tar.gz wget.tar.gz \
84
84
tar --strip-components=1 -zxf wget.tar.gz
85
85
rm wget.tar.gz
86
86
87
- export GNUTLS_LIBS=" -L$SYSROOT /usr/lib -static -lgnutls -pthread -latomic -lhogweed -lnettle"
87
+ export GNUTLS_LIBS=" -L$SYSROOT /usr/lib -Wl,-Bstatic -lgnutls -Wl,-Bdynamic -pthread -latomic -lhogweed -lnettle"
88
88
./configure \
89
89
--prefix=" $SYSROOT /usr" \
90
90
--host=" $CHOST "
91
- make
91
+ make -j $( nproc )
92
92
93
93
popd
94
94
mv wget-build/src/wget .
You can’t perform that action at this time.
0 commit comments