Fix possible "string too long" exception in Socket::udpRecv #1049
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build CLI | |
on: push | |
jobs: | |
ubuntu-22-04: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build Soup | |
run: php build_lib.php | |
- name: Build CLI | |
run: php build_cli.php | |
- name: Run ./soup test | |
run: ./CLI/soup test | |
- name: Run ./soup bench | |
run: ./CLI/soup bench | |
ubuntu-20-04: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build Soup | |
run: php build_lib.php | |
- name: Build CLI | |
run: php build_cli.php | |
- name: Run ./soup test | |
run: ./CLI/soup test | |
- name: Run ./soup bench | |
run: ./CLI/soup bench | |
debian-10: | |
runs-on: [debian-10] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build Soup | |
run: php build_lib.php | |
- name: Build CLI | |
run: php build_cli.php | |
- name: Run ./soup test | |
run: ./CLI/soup test | |
- name: Run ./soup bench | |
run: ./CLI/soup bench | |
- name: Upload soup | |
uses: actions/upload-artifact@v4 | |
with: | |
name: "Debian 10 and above" | |
path: CLI/soup | |
macos-13: | |
runs-on: macos-13 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build Soup | |
run: php build_lib.php | |
- name: Build CLI | |
run: php build_cli.php | |
- name: Run ./soup test | |
run: ./CLI/soup test | |
- name: Run ./soup bench | |
run: ./CLI/soup bench | |
- name: Upload soup | |
uses: actions/upload-artifact@v4 | |
with: | |
name: "MacOS (X86)" | |
path: CLI/soup | |
windows-latest: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Ensure LLVM is up-to-date | |
run: choco upgrade llvm | |
- name: Build Soup | |
run: php build_lib.php | |
- name: Build CLI | |
run: php build_cli.php | |
- name: Run ./soup test | |
run: CLI/soup.exe test | |
- name: Run ./soup bench | |
run: CLI/soup.exe bench | |
- name: Upload soup | |
uses: actions/upload-artifact@v4 | |
with: | |
name: "Windows" | |
path: CLI/soup.exe |