Files
abr/.gitea/workflows/build.yaml
T
retoor 5482f8b5c9
Build and Test / build-c (push) Successful in 36s
Build and Test / build-python (push) Successful in 25s
Build and Test / valgrind (push) Successful in 46s
Initial commit.
2025-12-13 00:11:12 +01:00

64 lines
1.2 KiB
YAML

# retoor <retoor@molodetz.nl>
name: Build and Test
on:
push:
branches:
- main
- master
pull_request:
branches:
- main
- master
jobs:
build-c:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y build-essential libssl-dev valgrind
- name: Build
run: make
- name: Build debug
run: make debug
valgrind:
runs-on: ubuntu-latest
needs: build-c
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y build-essential libssl-dev valgrind
- name: Run valgrind memory tests
run: make valgrind
build-python:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install dependencies
run: make py-install
- name: Test Python version
run: make py-test