From 893d6498e376a7a071c9c92c0eb1d952ac9d5612 Mon Sep 17 00:00:00 2001 From: Andrea Date: Sun, 10 Mar 2024 16:37:23 +0000 Subject: [PATCH] Added basic github workflows for building --- .github/workflows/roach.yml | 23 +++++++++++++++++++++++ Makefile | 1 - 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/roach.yml diff --git a/.github/workflows/roach.yml b/.github/workflows/roach.yml new file mode 100644 index 0000000..71bc214 --- /dev/null +++ b/.github/workflows/roach.yml @@ -0,0 +1,23 @@ +name: roach build + +on: + push: + branches: [ main ] + paths-ignore: + - '**.md' + pull_request: + branches: [ main ] + paths-ignore: + - '**.md' + +jobs: + build: + + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ubuntu-latest, macOS-latest] + + steps: + - uses: actions/checkout@v2 + - name: make diff --git a/Makefile b/Makefile index 03900ed..8485ce9 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,6 @@ LIB_OBJECTS = $(LIB_SOURCES:.c=.o) LIB_PERSISTENCE = logdata SERVER_SOURCES = src/main.c -# SERVER_SOURCES = src/*.c SERVER_OBJECTS = $(SERVER_SOURCES:.c=.o) SERVER_EXECUTABLE = server