- Timestamp:
- Jun 25, 2020, 4:01:21 AM (7 months ago)
- Branches:
- asyncio, master
- Children:
- 2b3a2814
- Parents:
- ed493e6
- Location:
- .github/workflows
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
.github/workflows/build.yml
red493e6 r22a737b 37 37 cat /etc/hosts 38 38 - name: find usable IPs for tests 39 shell: python3 {0}40 39 run: | 41 import socket 42 def try_connect(sockaddr): 43 af, socktype, proto, canonname, sa = sockaddr 44 try: 45 s = socket.socket(af, socktype, proto) 46 s.connect(sa) 47 except: 48 return False 49 finally: 50 s.close() 51 return True 52 53 test_ips = [] 54 for name in ['localhost', socket.gethostname()]: 55 addrs = list(map(lambda t: t[-1][0], filter(try_connect, socket.getaddrinfo(name, 123, proto=socket.IPPROTO_UDP)))) 56 print(f'{name}: {addrs}') 57 test_ips += addrs 58 # IPv6 addresses must be enclosed in square brackets 59 test_ips = [f'[{i}]' if ':' in i else i for i in test_ips] 60 print(f'::set-env name=test_ips::{" ".join(test_ips)}') 40 echo "::set-env name=test_ips::$(python3 test/check_test_ips.py localhost $(hostname))" 61 41 - name: set prefix for container-specific artifacts 62 42 # this is because upload-artifact doesn't like ":" in file names -
.github/workflows/valgrind.yml
red493e6 r22a737b 29 29 run: autoreconf -fiv 30 30 - name: configure 31 run: TEST_IP=127.0.0.1APACHE_MUTEX=pthread ./configure --enable-valgrind-test31 run: APACHE_MUTEX=pthread ./configure --enable-valgrind-test 32 32 - name: store config.log 33 33 uses: actions/upload-artifact@v1
Note: See TracChangeset
for help on using the changeset viewer.