Skip to content

Update service page (#172) #168

Update service page (#172)

Update service page (#172) #168

Workflow file for this run

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: VFS test
run: make test.vfs
- name: HTTP/Cookie test
run: make test.cookie
- name: HTTP/Headers test
run: make test.headers
# Instance restart test doesn't really show anything unless the instance gets some requests first,
# and setting that up is not on my list right now
# - name: Instance restart test
# run: make test.instance_restart
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