mirror of
https://github.com/c-cube/tiny_httpd.git
synced 2025-12-05 19:00:32 -05:00
chore: add github action
This commit is contained in:
parent
130608d924
commit
0f77a120d2
2 changed files with 21 additions and 1 deletions
20
.github/workflows/main.yml
vendored
Normal file
20
.github/workflows/main.yml
vendored
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
name: build
|
||||
on: [push]
|
||||
jobs:
|
||||
run:
|
||||
name: Build
|
||||
runs-on: ${{ matrix.operating-system }}
|
||||
strategy:
|
||||
matrix:
|
||||
operating-system: [macos-latest, ubuntu-latest, windows-latest]
|
||||
ocaml-version: [ '4.05.0' ]
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
- uses: avsm/setup-ocaml@master
|
||||
with:
|
||||
ocaml-version: ${{ matrix.ocaml-version }}
|
||||
- run: opam pin -n .
|
||||
- run: opam depext -yt tiny_httpd
|
||||
- run: opam install -t . --deps-only
|
||||
- run: opam exec -- dune build
|
||||
- run: opam exec -- dune runtest
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
|
||||
# Tiny_httpd [](https://travis-ci.org/c-cube/tiny_httpd)
|
||||
# Tiny_httpd [](https://travis-ci.org/c-cube/tiny_httpd) ](https://github.com/c-cube/tiny_httpd/actions)
|
||||
|
||||
Minimal HTTP server using good old threads and `Scanf` for routing.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue