Skip to content

Split linking into ELF and binary stage #91

Split linking into ELF and binary stage

Split linking into ELF and binary stage #91

Workflow file for this run

name: Style
on:
- pull_request
- push
jobs:
style:
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
runs-on: ubuntu-latest
steps:
- name: Download packages
run: |
source /etc/os-release
wget -qO- https://apt.llvm.org/llvm-snapshot.gpg.key | sudo tee /etc/apt/trusted.gpg.d/apt.llvm.org.asc
sudo add-apt-repository -y "deb http://apt.llvm.org/${UBUNTU_CODENAME}/ llvm-toolchain-${UBUNTU_CODENAME}-19 main"
sudo apt-get update
sudo apt-get install clang-format-19
- name: Checkout repository
uses: actions/checkout@v4
- name: Check simple style
run: ./tools/simple-style.sh
- name: Clang format
run: ./tools/clang-format.sh --dry-run --Werror