Commit b29ecbb 1 parent 023a09a commit b29ecbb Copy full SHA for b29ecbb
File tree 1 file changed +24
-1
lines changed
1 file changed +24
-1
lines changed Original file line number Diff line number Diff line change 20
20
jobs :
21
21
build :
22
22
runs-on : ubuntu-latest
23
+ timeout-minutes : 30
23
24
strategy :
24
25
fail-fast : false
25
26
matrix :
40
41
41
42
steps :
42
43
44
+ - name : Install QEMU
45
+ run : docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
46
+
43
47
- name : Checkout
44
48
uses : actions/checkout@v2
45
49
55
59
--platform=local \
56
60
-o ./output .
57
61
62
+ - name : Check Version
63
+ run : |
64
+ tar xzvf ./output/aria2*.tar.gz
65
+ file aria2c 2>&1 | tee ./output/file-type-${{ matrix.PLATFORMS }}.txt
66
+ ./aria2c -v 2>&1 | tee ./output/version-${{ matrix.PLATFORMS }}.txt
67
+
58
68
- name : Upload artifact
59
- uses : actions/upload-artifact@v1
69
+ uses : actions/upload-artifact@v2
60
70
with :
61
71
name : aria2-${{ matrix.PLATFORMS }}
62
72
path : output
73
+
74
+ - name : Functional Testing
75
+ run : |
76
+ ./aria2c https://raw.githubusercontent.com/P3TERX/aria2.conf/master/dht.dat
77
+ ./aria2c https://raw.githubusercontent.com/P3TERX/aria2.conf/master/dht6.dat
78
+ ./aria2c \
79
+ --seed-time=0 \
80
+ --enable-dht6=true \
81
+ --dht-file-path="$PWD/dht.dat" \
82
+ --dht-file-path6="$PWD/dht6.dat" \
83
+ --dht-entry-point='dht.transmissionbt.com:6881' \
84
+ --dht-entry-point6='dht.transmissionbt.com:6881' \
85
+ "$(curl -fsSL https://ubuntu.com/download/alternative-downloads | grep -o 'https.*server.*torrent' | head -1)"
You can’t perform that action at this time.
0 commit comments