1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-06-26 23:16:38 +02:00
Files
unrealircd/.github/workflows/linux-ci.yml
T
Bram Matthys be8e2f4764 CI: Add -slightlyfast so ban expiry test is skipped (that one runs in BuildBot anyway)
This to keep the CI at GitHub reasonably fast.
2025-10-06 11:52:52 +02:00

39 lines
982 B
YAML

name: Linux CI
on:
push:
branches: [ "unreal60_dev" ]
pull_request:
branches: [ "unreal60_dev" ]
env:
NOSERVICES: 1
RUNTESTFLAGS: "-slightlyfast"
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
compiler: [ {c: gcc, cpp: g++}, {c: clang, cpp: clang++} ]
env:
CC: ${{ matrix.compiler.c }}
CXX: ${{ matrix.compiler.cpp }}
steps:
- name: installdependencies
run: |
sudo rm /var/lib/man-db/auto-update
sudo apt-get install build-essential pkg-config libssl-dev libpcre2-dev libargon2-dev libsodium-dev libc-ares-dev libcurl4-openssl-dev libjansson-dev
- name: installpythondependencies
run: |
python -m pip install --break-system-packages pyasyncore
python -m pip install --break-system-packages pyasynchat
- uses: actions/checkout@v4
- name: build
run: extras/build-tests/nix/build
- name: run-tests
run: extras/build-tests/nix/run-tests