Skip to content

Attemp 4 to get correct version of clang on CI #11

Attemp 4 to get correct version of clang on CI

Attemp 4 to get correct version of clang on CI #11

Workflow file for this run

name: Test
on:
push:
paths:
- .github/**/*
- ./Makefile
- ./**/*.c
- ./**/*.h
- ./**/mocks/*
workflow_dispatch:
jobs:
test-release:
name: Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup clang
shell: bash
run: |
sudo apt update
sudo apt install clang-15
- shell: bash
run: |
gcc -v
clang-15 -v
- name: Run tests
shell: bash
run: |
alias clang=clang-15
make test
test-debug:
name: Debug
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup clang
shell: bash
run: |
sudo apt update
sudo apt install clang-15
- shell: bash
run: |
gcc -v
clang-15 -v
- name: Run tests
shell: bash
run: |
alias clang=clang-15
make test_dbg