Attemp 3 to get correct version of clang on CI #10
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: | | |
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: | | |
make test_dbg |