mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-21 23:58:51 -05:00
Add build and test workflow
This commit is contained in:
parent
52c3e46637
commit
97e2f144fb
29
.forgejo/workflows/run-tests.yaml
Normal file
29
.forgejo/workflows/run-tests.yaml
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
jobs:
|
||||||
|
test:
|
||||||
|
runs-on: podman
|
||||||
|
container:
|
||||||
|
image: alpine:3.20
|
||||||
|
steps:
|
||||||
|
- name: Install build dependencies
|
||||||
|
run: apk add --no-cache git linux-headers openssl-dev tcl procps tar make gcc musl-dev
|
||||||
|
- name: Checkout
|
||||||
|
run: git clone ${{github.server_url}}/${{ github.repository }}
|
||||||
|
- name: Build
|
||||||
|
run: make BUILD_TLS=yes
|
||||||
|
working-directory: redict
|
||||||
|
- name: Test redict
|
||||||
|
run: ./runtest
|
||||||
|
working-directory: redict
|
||||||
|
- name: Test redict-cluster
|
||||||
|
run: ./runtest-cluster
|
||||||
|
working-directory: redict
|
||||||
|
- name: Test redict-moduleapi
|
||||||
|
run: ./runtest-moduleapi
|
||||||
|
working-directory: redict
|
||||||
|
- name: Test redict-sentinel
|
||||||
|
run: ./runtest-sentinel
|
||||||
|
working-directory: redict
|
Loading…
Reference in New Issue
Block a user