File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -50,15 +50,44 @@ jobs:
5050 name : findns-${{ matrix.suffix }}
5151 path : findns-${{ matrix.suffix }}
5252
53+ build-slipstream :
54+ runs-on : ubuntu-latest
55+ steps :
56+ - name : Install build deps
57+ run : |
58+ sudo apt-get update
59+ sudo apt-get install -y cmake pkg-config libssl-dev git
60+
61+ - uses : dtolnay/rust-toolchain@stable
62+
63+ - name : Clone slipstream-rust
64+ run : git clone --recursive https://github.com/Mygod/slipstream-rust.git /tmp/slipstream-rust
65+
66+ - name : Build slipstream-client
67+ working-directory : /tmp/slipstream-rust
68+ env :
69+ PICOQUIC_AUTO_BUILD : ' 1'
70+ run : cargo build -p slipstream-client --release
71+
72+ - name : Upload artifact
73+ uses : actions/upload-artifact@v4
74+ with :
75+ name : slipstream-client-linux-amd64
76+ path : /tmp/slipstream-rust/target/release/slipstream-client
77+
5378 release :
54- needs : build
79+ needs : [ build, build-slipstream]
5580 runs-on : ubuntu-latest
5681 steps :
5782 - uses : actions/download-artifact@v4
5883 with :
5984 path : artifacts
6085 merge-multiple : true
6186
87+ - name : Rename slipstream binary
88+ run : |
89+ mv artifacts/slipstream-client artifacts/slipstream-client-linux-amd64 2>/dev/null || true
90+
6291 - name : Create release
6392 uses : softprops/action-gh-release@v2
6493 with :
You can’t perform that action at this time.
0 commit comments