1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-06-29 20:06:37 +02:00
Files
unrealircd/.github/workflows/linux-ci.yml
T
Bram Matthys 242267c280 Fix github CI
2025-11-15 18:40:59 +01:00

39 lines
985 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 -f /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