File tree 1 file changed +17
-0
lines changed
1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change 50
50
cargo deb --no-build --no-strip
51
51
cargo generate-rpm --payload-compress none
52
52
53
+ - name : Build openwrt package
54
+ if : " startsWith(github.ref, 'refs/tags/')"
55
+ shell : bash
56
+ run : |
57
+ bash +x unpack.sh x86_64
58
+ mv bin nas-xunlei-openwrt-x86_64-${{ steps.tag.outputs.tag }}
59
+ cargo zigbuild --release --target=x86_64-unknown-linux-musl --no-default-features --features launch
60
+ mv target/x86_64-unknown-linux-musl/release/xunlei nas-xunlei-openwrt-x86_64-${{ steps.tag.outputs.tag }}/
61
+ tar -cf - nas-xunlei-openwrt-x86_64-${{ steps.tag.outputs.tag }} | xz -9 -c - > nas-xunlei-openwrt-x86_64-${{ steps.tag.outputs.tag }}.tar.xz
62
+
63
+ bash +x unpack.sh aarch64
64
+ mv bin nas-xunlei-openwrt-aarch64-${{ steps.tag.outputs.tag }}
65
+ cargo zigbuild --release --target=aarch64-unknown-linux-musl --no-default-features --features launch
66
+ mv target/aarch64-unknown-linux-musl/release/xunlei nas-xunlei-openwrt-aarch64-${{ steps.tag.outputs.tag }}/
67
+ tar -cf - nas-xunlei-openwrt-aarch64-${{ steps.tag.outputs.tag }} | xz -9 -c - > nas-xunlei-openwrt-aarch64-${{ steps.tag.outputs.tag }}.tar.xz
68
+
69
+
53
70
- name : Build x86_64-unknown-linux-gnu package
54
71
if : " startsWith(github.ref, 'refs/tags/')"
55
72
shell : bash
You can’t perform that action at this time.
0 commit comments