From 4871cb81c1fe8d64060b86e5e605f1740bc41cc5 Mon Sep 17 00:00:00 2001 From: overflowerror Date: Wed, 5 May 2021 23:11:00 +0200 Subject: [PATCH] trying to fix testing pipeline --- .github/workflows/{c-cpp.yml => test-suite.yml} | 6 ++---- Makefile | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) rename .github/workflows/{c-cpp.yml => test-suite.yml} (61%) diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/test-suite.yml similarity index 61% rename from .github/workflows/c-cpp.yml rename to .github/workflows/test-suite.yml index ee91925..cd9b988 100644 --- a/.github/workflows/c-cpp.yml +++ b/.github/workflows/test-suite.yml @@ -1,4 +1,4 @@ -name: C/C++ CI +name: Test Suite on: push: @@ -9,12 +9,10 @@ on: jobs: test: - runs-on: ubuntu-18.04 + runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - name: install deps - run: sudo apt update && sudo apt install libpthread-stubs0-dev libc6 - name: make test run: make test - name: run tests diff --git a/Makefile b/Makefile index f46f694..9e1ee67 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ CC = gcc CFLAGS = -std=c99 -Wall -D_POSIX_C_SOURCE=201112L -D_XOPEN_SOURCE=500 -D_GNU_SOURCE -static -g LD = gcc -LDFLAGS = -lpthread -lrt +LDFLAGS = -pthread -lrt AR = ar ARFLAGS = rcs