Commit Graph

66 Commits

Author SHA1 Message Date
zonyitoo
161d87e016 enable strip=symbols for releases 2022-01-31 14:33:26 +08:00
zonyitoo
8766191164 cross build uses nightly rust 2022-01-28 02:02:32 +08:00
zonyitoo
9e0dc934b1 autodetect CPU features 2022-01-28 01:13:24 +08:00
zonyitoo
ff1f0508c5 build-and-test should overrides to nightly 2022-01-28 00:26:48 +08:00
zonyitoo
fdc9120bf9 add back aes-*-ccm
- CI requires nightly because clippy can only run on nightly.
2022-01-28 00:13:36 +08:00
zonyitoo
78e0e0e243 Build with stable Rust.
- #750 introduced strip=true, but it can only be used in >= 1.59
2022-01-27 21:52:26 +08:00
zonyitoo
1f1df39b4f update dependencies 2022-01-22 18:22:18 +08:00
zonyitoo
e8a8f65a9b install upx when building mips targets, fixes #674 2021-11-09 23:26:56 +08:00
zonyitoo
0470360af2 override nightly toolchain for project build 2021-09-29 12:49:32 +08:00
zonyitoo
3d6e4dd5a4 aarch64-apple-darwin release script fix 2021-09-29 12:25:08 +08:00
Dean Li
1525a2463c ci: Fix build release 2021-09-26 20:20:41 +08:00
Dean Li
ea868fcedf CI: build check and release for Apple Silicon 2021-09-25 01:45:26 +08:00
zonyitoo
1d7996a42a update dependencies 2021-09-02 11:08:44 +08:00
zonyitoo
d553554aa3 nightly and release build with local-tun 2021-09-02 04:02:25 +08:00
ty
337ab16adb Local server support Tun interface for both TCP and UDP (#586)
* [POC] basic implementation of TCP redirecting tun (#581)

* [POC] basic implementation of UDP redirection of Tun

* build with action

* add configuration interface for tun

* refine document and command line options

* outbound-bind-addr instead of reusing local_address for outbound sockets

* support customizing udp expiry and capacity

* make clippy happy

* fixed build error for Android

* add docs

* make a customized AsyncFd with the released tun crate

* TUN_INTERFACE_NAME to_owned directly

* ignore accept errors for tcp tun

* tun supports Android only on master branch

* android doesnt support setting IFF_NO_PI

* set route for macos automatically when creating tun

* set route for macos directly with PF_ROUTE

* Linux-like uses ETH_P_IP and ETH_P_IPV6

* use tun on crates.io and ignores Android support temporary

* update dependencies
2021-08-22 04:49:53 +08:00
kallydev
e3e5acb266 Add multi-architecture Docker support 2021-07-21 22:49:53 +08:00
zonyitoo
86336c4c89 nightly artifacts put in different names 2021-06-04 23:26:49 +08:00
zonyitoo
a213db5b3a add release script for nightly builds 2021-05-15 00:54:29 +08:00
dependabot-preview[bot]
13fc28d23c Upgrade to GitHub-native Dependabot 2021-04-29 10:04:42 +08:00
ty
8a27bb296c support TFO on Linux, FreeBSD, macOS and Windows (#487)
- ref #184
2021-04-25 23:31:13 +08:00
zonyitoo
67179c10ee rustls doesnt support webpki 0.22 2021-04-15 17:15:58 +08:00
zonyitoo
ca85b6a65b make clippy happy
- allow clippy::collapsible_else_if, useful in separating feature blocks
2021-04-15 16:46:57 +08:00
zonyitoo
a79517af6c Lower log level of early EOF while handshaking
- ref #490
- Enable clippy on github action
2021-04-15 14:12:46 +08:00
Tianling Shen
c2a6c20715 add release i386
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-11 09:26:11 +08:00
zonyitoo
94ef9faec8 add release aarch64-unknown-linux-musl 2021-03-04 00:00:33 +08:00
zonyitoo
9000b31ffb Disable deprecated stream ciphers by default
- Enable stream ciphers explicitly with stream-cipher feature
- Upgraded shadowsocks-crypto to v0.1.2

fixes #373
2021-01-04 23:09:12 +08:00
zonyitoo
a1bfc0d15d build release for mips-unknown-linux-gnu #370 2021-01-03 00:05:27 +08:00
zonyitoo
7467d51f99 update toolchain nightly-2020-12-30 2020-12-31 21:40:43 +08:00
zonyitoo
2a92ab8324 ci tests with rust-toolchain file 2020-12-30 15:09:04 +08:00
zonyitoo
75c28313ea disable https by default, let users to choose which TLS library to use 2020-12-30 10:09:34 +08:00
zonyitoo
dbaafdd57f users other actions to install nightly 2020-11-29 00:31:00 +08:00
zonyitoo
81d8b338ad Remove unnecessary customized Dockerfile, RUSTFLAGS is controlled by .cargo/config.toml 2020-11-23 23:36:39 +08:00
zonyitoo
c5586a1335 Temporary skip trust-dns https build failure 2020-11-21 23:12:33 +08:00
zonyitoo
741e019da6 Remove deps to mio v0.6 and update all dependencies
fix #321
2020-11-21 22:54:53 +08:00
zonyitoo
a807cd307b crypto2 requires unstable simd and asm featurs, we have to build with nightly 2020-11-21 22:18:50 +08:00
zonyitoo
536a2d5799 Build on action with mostly features enabled 2020-11-21 22:03:00 +08:00
luozijun
c550913247 Add shadowsocks-crypto 2020-11-21 10:42:56 +08:00
zonyitoo
78853d3705 Tests should enable all logging output 2020-11-15 14:23:21 +08:00
zonyitoo
8eeda75a72 Add arm-unknown-linux-musleabihf for rpi 2020-10-14 11:08:25 +08:00
zonyitoo
20ee780509 Github action have deprecated ::add-path:: command 2020-10-12 10:49:36 +08:00
zonyitoo
945ebacd76 set COPYFILE_DISABLE on macos runner, use gnu-tar instead of bsd-tar on github action 2020-10-12 10:05:30 +08:00
Feng Yu
988e69d4da Add arm-unknown-linux-musleabi release 2020-09-20 00:30:15 +08:00
zonyitoo
e88a536bd4 Workaround for restoring cache from action/cache getting corrupted
ref actions/cache#403
ref rust-lang/cargo#8603
2020-08-22 11:18:04 +08:00
zonyitoo
f085b67081 Link openssl statically
ref sfackler/rust-openssl#1063
ref #288
2020-08-20 17:11:01 +08:00
zonyitoo
4fd4ac5bbe Removed .cargo/config.toml and use RUSTFLAGS instead
ref: rust-lang/cargo#6858
2020-08-20 15:55:28 +08:00
zonyitoo
d30b8de961 pack_req returns Bytes preventing copies 2020-08-20 14:13:09 +08:00
zonyitoo
43f9195f2f Set RUSTFLAGS with project based config, fixed OPENSSL_STATIC 2020-08-19 22:19:27 +08:00
zonyitoo
8184869924 Disable cache for macos build temporary rust-lang/cargo#8603 2020-08-09 23:07:58 +08:00
zonyitoo
6451f33b2e linux-gnu is already built by docker 2020-08-09 01:59:06 +08:00
zonyitoo
663be08c9d Make a formal release of v1.8.14 2020-08-09 01:06:49 +08:00