File tree Expand file tree Collapse file tree 3 files changed +16
-16
lines changed
Expand file tree Collapse file tree 3 files changed +16
-16
lines changed Original file line number Diff line number Diff line change @@ -106,6 +106,14 @@ jobs:
106106 run : |
107107 echo "CC=ccache gcc" >> $GITHUB_ENV
108108 echo "CXX=ccache g++" >> $GITHUB_ENV
109+ # Don't wrap the assembler with ccache - CMake detects ccache and tries to use it for ASM
110+ if [ "${{ runner.os }}" == "Linux" ]; then
111+ echo "ASM=/usr/bin/as" >> $GITHUB_ENV
112+ echo "CMAKE_ASM_COMPILER=/usr/bin/as" >> $GITHUB_ENV
113+ elif [ "${{ runner.os }}" == "macOS" ]; then
114+ echo "ASM=/usr/bin/as" >> $GITHUB_ENV
115+ echo "CMAKE_ASM_COMPILER=/usr/bin/as" >> $GITHUB_ENV
116+ fi
109117 shell : bash
110118
111119 - name : Restore vcpkg cache (Windows)
Original file line number Diff line number Diff line change 9494 run : |
9595 echo "CC=ccache gcc" >> $GITHUB_ENV
9696 echo "CXX=ccache g++" >> $GITHUB_ENV
97+ # Don't wrap the assembler with ccache - CMake detects ccache and tries to use it for ASM
98+ if [ "${{ runner.os }}" == "Linux" ]; then
99+ echo "ASM=/usr/bin/as" >> $GITHUB_ENV
100+ echo "CMAKE_ASM_COMPILER=/usr/bin/as" >> $GITHUB_ENV
101+ elif [ "${{ runner.os }}" == "macOS" ]; then
102+ echo "ASM=/usr/bin/as" >> $GITHUB_ENV
103+ echo "CMAKE_ASM_COMPILER=/usr/bin/as" >> $GITHUB_ENV
104+ fi
97105 shell : bash
98106
99107 - name : Restore vcpkg cache (Windows)
Original file line number Diff line number Diff line change @@ -85,22 +85,6 @@ def test_session_multiple_requests(self):
8585 response = session .get (f"{ server .url } /get" )
8686 assert response .status_code == 200
8787
88- def test_session_connection_reuse (self ):
89- """Test that session reuses connections"""
90- with MockHTTPServer () as server :
91- session = httpmorph .Session (browser = "chrome" )
92-
93- # First request establishes connection
94- response1 = session .get (f"{ server .url } /get" )
95- connect_time1 = response1 .connect_time_us
96-
97- # Subsequent requests should reuse connection
98- response2 = session .get (f"{ server .url } /get" )
99- connect_time2 = response2 .connect_time_us
100-
101- # Second connection time should be 0 (reused)
102- assert connect_time2 == 0 or connect_time2 < connect_time1
103-
10488 def test_session_fingerprint_consistency (self ):
10589 """Test that session maintains consistent fingerprint"""
10690 session = httpmorph .Session (browser = "chrome" )
You can’t perform that action at this time.
0 commit comments