Commit Graph
95 Commits
Author SHA1 Message Date
zonyitoo e104fa604f fixed tag_name defaults to github.ref_name 2023-09-01 12:54:03 +08:00
zonyitoo b8ea553179 fix(actions): temporary disable docker manually build 2023-08-27 02:33:34 +08:00
zonyitoo 33fe361a8b fix(actions): add missing tag_name in other jobs 2023-08-27 02:15:29 +08:00
zonyitoo 8d2245250c fix(actions): manually trigger must set tag_name 2023-08-27 02:05:27 +08:00
zonyitoo 944d597247 fix(actions): allow trigger build releases from page 2023-08-27 01:32:48 +08:00
zonyitoo 485adcf4c5 fix(actions): disable fail-fast 2023-08-27 01:14:30 +08:00
zonyitoo 2b2afc9a3c chore(build): Build nightly releases with cross instead of zig-build
- zig recently updated its musl version, stable rustc with that new musl
  is not released yet
- zig may eliminate LLVM in the future, ziglang/zig#16270
2023-06-30 23:41:32 +08:00
ty 08f350f317 Revert "Fix UPX compression issue."
This reverts commit 872e994fd1.
2023-03-15 12:14:24 +08:00
Tim Xylon 2bcf2a5c4a Use actions-rs-plus/clippy-check 2023-03-13 22:54:58 +00:00
Tim Xylon 5252941bf9 Removing unused action arguments 2023-03-13 22:54:58 +00:00
Tim Xylon f155813d32 Update .github/workflows/clippy-check.yml
Use 'kristof-mattei/clippy-check@main'.
2023-03-13 22:54:58 +00:00
Tim Xylon 9ec7035c6b Update actions/upload-artifact to v3 2023-03-13 22:54:58 +00:00
Tim Xylon 024bd872ef Update docker workflow dependencies 2023-03-13 22:54:58 +00:00
Tim Xylon 3bf205f0a4 Get rid of actions-rs/toolchain
Replaces 'actions-rs/toolchain' with bare `rustup` command, since this action haven't been updated in 2 years and `rustup` is included in GitHub Action's runner images.

See: https://github.com/actions/runner-images
2023-03-13 22:54:58 +00:00
Tim Xylon 916e162795 Update actions/checkout to v3 2023-03-13 22:54:58 +00:00
riKirsti 872e994fd1 Fix UPX compression issue.
1.Fix the UPX compression issue in GitHub Actions.
2.Use upx --lzma --best instead of upx -9 to get better compression ratio.
2023-02-21 06:39:05 +08:00
zonyitoo 26a04b9c0c build nightly with cargo-zigbuild 2022-12-17 21:09:58 +08:00
zonyitoo 990ffb9b4f separates clippy check to clippy-check workflow 2022-12-17 20:11:21 +08:00
zonyitoo 8cfe8c1088 Build with stable Rust >= 1.64 2022-12-17 19:45:48 +08:00
zonyitoo 49fd1cfb40 upgrade tests, remove deps to Xcode 12 2022-12-17 10:05:06 +08:00
zonyitoo bd5badbc2f upgrade shadowsocks-crypto
- AArch64 intrinsics are now available on stable rust since v1.59
- Upgrades rust-crypto to v0.10
2022-12-10 12:15:39 +08:00
zonyitoo ff3590a830 macOS runner already builtin Xcode 13.2.1 2022-11-21 23:39:52 +08:00
zonyitoo 2621e1946d updated dependencies, Swatinem/rust-cache@v2 2022-10-29 14:31:09 +08:00
zonyitoo 59e80ff1fe move Dockerfile to workspace root 2022-06-29 01:36:34 +08:00
zonyitoo 64ad58bd61 switch user with -a, docker adds entrypoint script, #876 2022-06-29 00:31:57 +08:00
xiazuojie 32f6a09d54 remove 2 targets 2022-04-27 00:20:12 +08:00
xiazuojie 608f7c0cea remove duplicated armv7-unknown-linux-musleabihf 2022-04-27 00:20:12 +08:00
xiazuojie a44514028e Update build-release.yml
add popular armv7 build targets
2022-04-27 00:20:12 +08:00
ty 7c154d2340 AEAD-2022 ciphers (new protocol) (#811) 2022-04-19 11:48:43 +08:00
zonyitoo f240662d12 enable strip=symbols, 1.59 is already released 2022-03-07 15:28:10 +08:00
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
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