From a7cb6c8534e64d64bf0e33f003662f26e3a59065 Mon Sep 17 00:00:00 2001 From: Akshai M Date: Tue, 6 Sep 2022 10:53:14 +0200 Subject: [PATCH] .github/workflow : Added compile tests --- .github/workflows/compile-tests.yml | 32 +++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/compile-tests.yml diff --git a/.github/workflows/compile-tests.yml b/.github/workflows/compile-tests.yml new file mode 100644 index 0000000..ce6f1d2 --- /dev/null +++ b/.github/workflows/compile-tests.yml @@ -0,0 +1,32 @@ +name: Compilation tests for RIOT-OS submodule update + +on: + push: + branches: [ master] + paths: + - RIOT + pull_request: + types: [opened, edited, reopened, synchronize] + branches: [ master ] + paths: + - RIOT + +jobs: + build: + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + applications: [coap-chat, sniffer, spectrum-scanner] + + steps: + - uses: actions/checkout@v2 + with: + submodules: true + + - name: Pull the latest riotbuild docker image + run: docker pull riot/riotbuild:latest + + - name: Run compile tests + run: | + make BUILD_IN_DOCKER=1 -C ${{ matrix.applications }}