File tree Expand file tree Collapse file tree 3 files changed +16
-4
lines changed
mitmproxy-windows/redirector/src Expand file tree Collapse file tree 3 files changed +16
-4
lines changed Original file line number Diff line number Diff line change 3535 args : --exclude mitmproxy-linux-ebpf
3636 - os : ubuntu-latest
3737 rust : nightly
38- args : --package mitmproxy-linux-ebpf
38+ args : --package mitmproxy-linux-ebpf -C panic=abort -Zpanic_abort_tests
3939 steps :
4040 - uses : mhils/workflows/checkout@v12
4141 - uses : ./.github/actions/setup
9898 # ensure that sdist is building.
9999 # We do this here instead of a separate job because we don't want to wait for the entire matrix.
100100 - if : contains(matrix.args, 'sdist')
101- run : pip install target/wheels/*.tar.gz
101+ run : pip install --no-dependencies target/wheels/*.tar.gz
102102
103103 - uses : actions/upload-artifact@v4
104104 with :
@@ -198,10 +198,23 @@ jobs:
198198 name : wheels-os-${{ matrix.name }}
199199 path : target/wheels
200200
201+ test-linux-wheel-sdist :
202+ needs : build-linux-wheel
203+ runs-on : ubuntu-latest
204+ steps :
205+ - uses : mhils/workflows/checkout@v12
206+ - uses : ./.github/actions/setup
207+ - uses : actions/download-artifact@v4
208+ with :
209+ name : wheels-os-linux-x86_64
210+ path : target/wheels
211+ - run : pip install --no-dependencies target/wheels/*.tar.gz
212+
201213 check :
202214 if : always()
203215 needs :
204216 - test
217+ - test-linux-wheel-sdist
205218 - build
206219 - build-windows-wheel
207220 - build-linux-wheel
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ use lru_time_cache::LruCache;
1111use mitmproxy:: intercept_conf:: { InterceptConf , ProcessInfo } ;
1212use mitmproxy:: ipc;
1313use mitmproxy:: ipc:: FromProxy ;
14- use mitmproxy:: packet_sources:: windows :: IPC_BUF_SIZE ;
14+ use mitmproxy:: packet_sources:: IPC_BUF_SIZE ;
1515use mitmproxy:: windows:: network:: network_table;
1616use mitmproxy:: processes:: get_process_name;
1717use mitmproxy:: MAX_PACKET_SIZE ;
Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ use std::os::windows::ffi::OsStrExt;
44use std:: path:: PathBuf ;
55
66use anyhow:: { anyhow, Context , Result } ;
7- use tokio:: io:: { AsyncReadExt , AsyncWriteExt } ;
87use tokio:: net:: windows:: named_pipe:: { NamedPipeServer , PipeMode , ServerOptions } ;
98use tokio:: sync:: broadcast;
109use tokio:: sync:: mpsc:: Sender ;
You can’t perform that action at this time.
0 commit comments