From cd68f6c89ca999ea8895291c5a91fa211e2e9ab0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Janne=20Kiiskil=C3=A4?= Date: Mon, 11 Dec 2023 12:49:05 +0200 Subject: [PATCH] GitHub action - make Initial action to make all. --- .github/workflows/make.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/make.yml diff --git a/.github/workflows/make.yml b/.github/workflows/make.yml new file mode 100644 index 0000000..1be9919 --- /dev/null +++ b/.github/workflows/make.yml @@ -0,0 +1,29 @@ +name: mbed-edge-examples-make + +on: + workflow_dispatch: + push: + paths-ignore: + - '**/README.md' + +# This allows a subsequently queued workflow run to interrupt previous runs +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + +jobs: + make-examples: + runs-on: ubuntu-22.04 + env: + ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }} + steps: + - name: Checkout continuous-integration + uses: actions/checkout@v4 + - name: Install dependencies + run: | + sudo apt install build-essential git libc6-dev + sudo apt install libmosquitto-dev mosquitto-clients + sudo apt install libglib2.0-dev + - name: git submodule update + run: git submodule update --init --recursive + - run: make