From 7d27fbe3f78a4916c64fbf94f219f1d6cafe70d4 Mon Sep 17 00:00:00 2001 From: Charles Nicholson Date: Sun, 25 Dec 2022 11:54:12 -0500 Subject: [PATCH] arm build in workflow (#45) --- .github/workflows/presubmit.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/.github/workflows/presubmit.yml b/.github/workflows/presubmit.yml index 5ad979e..e8e56b5 100644 --- a/.github/workflows/presubmit.yml +++ b/.github/workflows/presubmit.yml @@ -29,6 +29,23 @@ jobs: - name: Build run: COBS_SANITIZE=1 make -j + arm-cm4: + runs-on: ubuntu-latest + + permissions: + packages: read + + container: + image: ghcr.io/charlesnicholson/docker-image:latest + credentials: + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} + + steps: + - uses: actions/checkout@v3 + - name: Build + run: arm-none-eabi-gcc -mcpu=cortex-m4 -Os -Werror -Wall -Wextra -Wconversion -c cobs.c + linux-gcc: runs-on: ubuntu-latest