clang __has_warning for Ubuntu 18.04 #644
Workflow file for this run
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 Clang Format" | |
on: [push, workflow_dispatch] | |
jobs: | |
clang-format: | |
runs-on: ubuntu-latest | |
container: fedora:latest | |
steps: | |
- name: Update package list | |
run: sudo dnf update -y | |
- name: Install dependencies | |
run: sudo dnf install -y openssl-devel cmake git gcc clang ninja-build | |
- name: Install clang-tidy | |
run: sudo dnf install -y clang-tools-extra | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Check format | |
uses: RafikFarhad/clang-format-github-action@v3.0.0 |