Compare commits

..

1 Commits

Author SHA1 Message Date
847dc5e384 ci: fix arch build
All checks were successful
CI Code / Check coding style (pull_request) Successful in 1m24s
CI Code / Check spelling (pull_request) Successful in 39s
CI Code / Linux (debian) (pull_request) Successful in 6m16s
CI Code / Linux (ubuntu) (pull_request) Successful in 6m22s
CI Code / Code Coverage (pull_request) Successful in 7m38s
CI Code / Linux (arch) (pull_request) Successful in 10m18s
2026-02-16 16:48:02 +01:00
3 changed files with 11 additions and 8 deletions

View File

@@ -29,10 +29,10 @@ jobs:
name: Linux
steps:
- uses: actions/checkout@v4
- name: Build
run: docker build -f Dockerfile.${{ matrix.flavor }} -t profanity .
- name: Run tests
run: docker run profanity ./ci-build.sh
run: |
docker build -f Dockerfile.${{ matrix.flavor }} -t profanity .
docker run profanity ./ci-build.sh
code-style:
runs-on: ubuntu-latest
@@ -107,7 +107,7 @@ jobs:
name: Code Coverage
steps:
- uses: actions/checkout@v4
- name: Build
run: docker build -f Dockerfile.arch -t profanity-cov .
- name: Run coverage
run: docker run profanity-cov ./ci-build.sh --coverage-only
- name: Build and run coverage
run: |
docker build -f Dockerfile.arch -t profanity-cov .
docker run profanity-cov ./ci-build.sh --coverage-only

View File

@@ -3,11 +3,13 @@ FROM archlinux:latest
ENV TERM=xterm
ENV CC="ccache gcc"
RUN pacman -Syyu --noconfirm || true
RUN pacman -Syyu --noconfirm
# reflector is optional - if it fails due to network issues, continue with default mirrorlist
RUN pacman -S --needed --noconfirm reflector && \
(reflector --latest 20 --protocol https --sort rate --save /etc/pacman.d/mirrorlist || true)
(reflector --latest 20 --protocol https --save --sort rate /etc/pacman.d/mirrorlist || true)
RUN export DEBUGINFOD_URLS="https://debuginfod.archlinux.org"
RUN pacman-key --init
RUN pacman -S --needed --noconfirm \
autoconf \

View File

@@ -86,6 +86,7 @@ extract_test_count() {
# and checks that the test framework reports the failure correctly
verify_test_failure_detection()
{
echo
echo "==> Verifying test failure detection..."
# Create a simple failing test