Skip to content

Commit

Permalink
matrix clang
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesnicholson committed Dec 29, 2023
1 parent 45d0c36 commit 7611de2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/presubmit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
- name: Build
run: arm-none-eabi-gcc -mcpu=cortex-m4 -Os -Werror -Wall -Wextra -Wconversion -c cobs.c

linux-gcc:
linux:
runs-on: ubuntu-latest

permissions:
Expand All @@ -61,11 +61,12 @@ jobs:
strategy:
matrix:
architecture: [32, 64]
compiler_env: ["CC=gcc CXX=g++", "CC=clang CXX=clang++"]

steps:
- uses: actions/checkout@v3
- name: Build
run: COBS_LINUXARCH=${{ matrix.architecture }} make -j
run: ${{ matrix.compiler_env }} COBS_LINUXARCH=${{ matrix.architecture }} make -j

macos:
runs-on: macos-latest
Expand Down

0 comments on commit 7611de2

Please sign in to comment.