Introduce Spicy parser framework with HTTP parser implementation #195
Workflow file for this run
This file contains hidden or 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: Go | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| checks: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Basic Dependencies | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y libpcap-dev iptables zlib1g-dev build-essential | |
| - name: Install spicyc | |
| run: | | |
| wget https://github.com/zeek/spicy/releases/download/v1.13.1/spicy_linux_ubuntu24.deb | |
| sudo dpkg --install spicy_linux_ubuntu24.deb | |
| rm spicy_linux_ubuntu24.deb | |
| - name: Install clang17 | |
| run: | | |
| wget https://apt.llvm.org/llvm.sh | |
| chmod +x llvm.sh | |
| sudo ./llvm.sh 17 | |
| - name: Checkout | |
| uses: actions/checkout@v3 | |
| - name: Set up Go | |
| uses: actions/setup-go@v4 | |
| with: | |
| go-version: "^1.23" | |
| - name: Build | |
| env: | |
| CC: clang | |
| CXX: clang++ | |
| run: go build -v ./... | |
| - name: Test | |
| env: | |
| CC: clang | |
| CXX: clang++ | |
| run: go test -v ./... |