Compare commits
	
		
			1 Commits
		
	
	
		
			v11.0.2
			...
			feature/ts
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
|  | 27dabaaf86 | 
							
								
								
									
										56
									
								
								.github/workflows/ccpp.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										56
									
								
								.github/workflows/ccpp.yml
									
									
									
									
										vendored
									
									
								
							| @@ -5,38 +5,40 @@ on: | |||||||
|     - 'docs/**' |     - 'docs/**' | ||||||
|  |  | ||||||
| jobs: | jobs: | ||||||
|   linux: |   # linux: | ||||||
|     runs-on: ubuntu-latest |   #   runs-on: ubuntu-latest | ||||||
|     steps: |   #   steps: | ||||||
|     - uses: actions/checkout@v1 |   #   - uses: actions/checkout@v1 | ||||||
|     - name: make test |   #   - name: make test | ||||||
|       run: make test |   #     run: make test | ||||||
|  |  | ||||||
|   mac: |   mac_openssl_tsan: | ||||||
|     runs-on: macOS-latest |     runs-on: macOS-latest | ||||||
|     steps: |     steps: | ||||||
|     - uses: actions/checkout@v1 |     - uses: actions/checkout@v1 | ||||||
|  |     - name: install openssl | ||||||
|  |       run: brew install openssl | ||||||
|     - name: make test |     - name: make test | ||||||
|       run: make test |       run: make test_tsan_openssl | ||||||
|  |  | ||||||
|   tsan: |       # tsan: | ||||||
|     runs-on: macOS-latest |       #   runs-on: macOS-latest | ||||||
|     steps: |       #   steps: | ||||||
|     - uses: actions/checkout@v1 |       #   - uses: actions/checkout@v1 | ||||||
|     - name: make test_tsan |       #   - name: make test_tsan | ||||||
|       run: make test_tsan |       #     run: make test_tsan | ||||||
|  |  | ||||||
|   win: |       # win: | ||||||
|     runs-on: windows-latest |       #   runs-on: windows-latest | ||||||
|     steps: |       #   steps: | ||||||
|     - uses: actions/checkout@v1 |       #   - uses: actions/checkout@v1 | ||||||
|     - uses: seanmiddleditch/gha-setup-vsdevenv@master |       #   - uses: seanmiddleditch/gha-setup-vsdevenv@master | ||||||
|     - run: | |       #   - run: | | ||||||
|         mkdir build |       #       mkdir build | ||||||
|         cd build |       #       cd build | ||||||
|         cmake -DCMAKE_CXX_COMPILER=cl.exe -DUSE_WS=1 -DUSE_TEST=1 .. |       #       cmake -DCMAKE_CXX_COMPILER=cl.exe -DUSE_WS=1 -DUSE_TEST=1 .. | ||||||
|     - run: cmake --build build |       #   - run: cmake --build build | ||||||
|  |  | ||||||
|     # Running the unittest does not work |       #   # Running the unittest does not work | ||||||
|     #- run: ../build/test/ixwebsocket_unittest.exe |       #   #- run: ../build/test/ixwebsocket_unittest.exe | ||||||
|     # working-directory: test |       #   # working-directory: test | ||||||
|   | |||||||
							
								
								
									
										5
									
								
								makefile
									
									
									
									
									
								
							
							
						
						
									
										5
									
								
								makefile
									
									
									
									
									
								
							| @@ -105,6 +105,11 @@ test_asan: | |||||||
| 	(cd build/test ; ln -sf Debug/ixwebsocket_unittest) | 	(cd build/test ; ln -sf Debug/ixwebsocket_unittest) | ||||||
| 	(cd test ; python2.7 run.py -r) | 	(cd test ; python2.7 run.py -r) | ||||||
|  |  | ||||||
|  | test_tsan_openssl: | ||||||
|  | 	mkdir -p build && (cd build && cmake -GXcode -DCMAKE_BUILD_TYPE=Debug -DUSE_TLS=1 -DUSE_TEST=1 -DUSE_OPEN_SSL=1 .. && xcodebuild -project ixwebsocket.xcodeproj -target ixwebsocket_unittest -enableThreadSanitizer YES) | ||||||
|  | 	(cd build/test ; ln -sf Debug/ixwebsocket_unittest) | ||||||
|  | 	(cd test ; python2.7 run.py -r) | ||||||
|  |  | ||||||
| test_openssl: | test_openssl: | ||||||
| 	mkdir -p build && (cd build ; cmake -DCMAKE_BUILD_TYPE=Debug -DUSE_TLS=1 -DUSE_OPEN_SSL=1 -DUSE_TEST=1 .. ; make -j 4) | 	mkdir -p build && (cd build ; cmake -DCMAKE_BUILD_TYPE=Debug -DUSE_TLS=1 -DUSE_OPEN_SSL=1 -DUSE_TEST=1 .. ; make -j 4) | ||||||
| 	(cd test ; python2.7 run.py -r) | 	(cd test ; python2.7 run.py -r) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user