Skip to content

Commit

Permalink
Bump version 0.2.37
Browse files Browse the repository at this point in the history
  • Loading branch information
ssrlive committed Oct 4, 2024
1 parent 371b7f8 commit 1c5e6d8
Show file tree
Hide file tree
Showing 5 changed files with 645 additions and 3 deletions.
21 changes: 19 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ jobs:
- aarch64-apple-darwin
- x86_64-pc-windows-msvc
- i686-pc-windows-msvc
- aarch64-pc-windows-msvc
- x86_64-win7-windows-msvc
- i686-win7-windows-msvc

include:
- target: x86_64-unknown-linux-gnu
Expand All @@ -43,6 +46,12 @@ jobs:
host_os: windows-latest
- target: i686-pc-windows-msvc
host_os: windows-latest
- target: aarch64-pc-windows-msvc
host_os: windows-latest
- target: x86_64-win7-windows-msvc
host_os: windows-latest
- target: i686-win7-windows-msvc
host_os: windows-latest

runs-on: ${{ matrix.host_os }}
steps:
Expand All @@ -54,7 +63,6 @@ jobs:
run: |
cargo install cbindgen
mkdir release
rustup target add ${{ matrix.target }}
if [[ "${{ matrix.host_os }}" == "ubuntu-latest" ]]; then
sudo .github/workflows/install-cross.sh
fi
Expand All @@ -63,10 +71,19 @@ jobs:
shell: bash
run: |
if [[ "${{ matrix.host_os }}" == "ubuntu-latest" ]]; then
rustup target add ${{ matrix.target }}
cross build --all-features --release --target ${{ matrix.target }}
else
cargo build --all-features --release --target ${{ matrix.target }}
if [[ "${{ matrix.target }}" == "x86_64-win7-windows-msvc" || "${{ matrix.target }}" == "i686-win7-windows-msvc" ]]; then
rustup toolchain install nightly
rustup component add rust-src --toolchain nightly
cargo +nightly build --release -Z build-std --target ${{ matrix.target }}
else
rustup target add ${{ matrix.target }}
cargo build --all-features --release --target ${{ matrix.target }}
fi
fi
cbindgen -c cbindgen.toml -l C --cpp-compat -o ./overtls.h
if [[ "${{ matrix.host_os }}" == "windows-latest" ]]; then
powershell Compress-Archive -Path target/${{ matrix.target }}/release/overtls-bin.exe, ./config.json, ./overtls.h, target/${{ matrix.target }}/release/overtls.dll -DestinationPath release/overtls-${{ matrix.target }}.zip
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "overtls"
version = "0.2.36"
version = "0.2.37"
edition = "2021"
license = "MIT"
description = "A simple proxy tunnel, minimalist tool for bypassing the GFW."
Expand Down
Loading

0 comments on commit 1c5e6d8

Please sign in to comment.