From b63ce41dacc75aa3f0b9a530c0448613bc662494 Mon Sep 17 00:00:00 2001 From: Athanasios Pantazides <46729485+thanasipantazides@users.noreply.github.com> Date: Sat, 23 Nov 2024 00:05:50 -0600 Subject: [PATCH 1/2] Create c-cpp.yml --- .github/workflows/c-cpp.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/c-cpp.yml diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml new file mode 100644 index 0000000..1928e81 --- /dev/null +++ b/.github/workflows/c-cpp.yml @@ -0,0 +1,19 @@ +name: build + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +jobs: + build: + + runs-on: [ubuntu-latest, macos] + + steps: + - uses: actions/checkout@v4 + - name: "run CMake" + run: cmake -S . build + - name: "build project" + run: cmake --build build --target all -j4 From ae8e397b8db2c9e3f60501b54acf0959ec05533d Mon Sep 17 00:00:00 2001 From: Athanasios Pantazides <46729485+thanasipantazides@users.noreply.github.com> Date: Sat, 23 Nov 2024 00:09:05 -0600 Subject: [PATCH 2/2] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 0bccf61..438c3d4 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,4 @@ +[![build](https://github.com/foxsi/foxsi-4matter/actions/workflows/c-cpp.yml/badge.svg)](https://github.com/foxsi/foxsi-4matter/actions/workflows/c-cpp.yml) # foxsi-4matter Code for the FOXSI-4 formatter.