Remove streaming handler #120
Workflow file for this run
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 and test | |
on: | |
push: | |
branches: ['main'] | |
pull_request: | |
branches: ['main'] | |
jobs: | |
build_lib: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: build static lib | |
run: make libstatic target=prod | |
- name: build shared lib | |
run: make libshared target=prod | |
build_tools: | |
needs: build_lib | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: build dll info updater | |
run: make tool.updatedllinfo | |
- name: build SFI generator | |
run: make tool.gensfi | |
build_and_run_tests: | |
needs: build_lib | |
runs-on: ubuntu-latest | |
timeout-minutes: 5 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Prepare | |
run: | | |
sudo apt-get install -y brotli | |
sudo apt-get install -y zlib1g-dev | |
mkdir .bin | |
- name: URL test | |
run: make test.url | |
- name: Encoding test | |
run: make test.encoding | |
- name: Strings test | |
run: make test.strings | |
- name: JSON test | |
run: make test.json | |
- name: Storage test | |
run: make test.storage | |
- name: zlib test | |
run: make test.zlib | |
- name: brotli test | |
run: make test.brotli | |
- name: Error messages test | |
run: make test.errors | |
- name: VFS test | |
run: make test.vfs | |
- name: HTTP/Cookie test | |
run: make test.cookie | |
- name: HTTP/Headers test | |
run: make test.headers | |
build_examples: | |
needs: build_lib | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Prepare | |
run: | | |
sudo apt-get install -y brotli | |
sudo apt-get install -y zlib1g-dev | |
mkdir .bin | |
- name: API server example | |
run: make example.api_server | |
- name: KV server example | |
run: make example.kvserver | |
- name: Service page response example | |
run: make example.servicepage | |
- name: Service crash handling example | |
run: make example.handler_crash | |
- name: Reply with client's user agent example | |
run: make example.reply | |
- name: Hello world example | |
run: make example.helloworld | |
- name: Static server example | |
run: make example.static_server |