From f4ed8e6eb6df941d3c3cc2fdc2e490323dd91868 Mon Sep 17 00:00:00 2001 From: Rufus Uttley Date: Wed, 7 Aug 2024 12:25:22 +0100 Subject: [PATCH 1/2] Create build.yml --- .github/workflows/build.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..1d3e1f5 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,15 @@ +name: Build + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: make + run: make From ba08f3608841ce7c41cc74abcfb4b8701666c816 Mon Sep 17 00:00:00 2001 From: Rufus Uttley Date: Wed, 7 Aug 2024 12:29:51 +0100 Subject: [PATCH 2/2] Install libsensors in workflow --- .github/workflows/build.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1d3e1f5..1e27a16 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -11,5 +11,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + - name: Install libsensors + run: sudo apt-get install -y libsensors-dev - name: make run: make