summaryrefslogtreecommitdiff
path: root/.github/workflows/pre-commit.yml
diff options
context:
space:
mode:
authorhathach <[email protected]>2025-06-16 11:08:01 +0700
committerhathach <[email protected]>2025-06-16 11:08:01 +0700
commit4a44dd5c471578ee5b957a75adaf3dbc6a48241a (patch)
tree0508b6721f1cf4c74964412a894d6c65edba3afb /.github/workflows/pre-commit.yml
parentf00e698ae2a470d749331361ef0b031af96cdbd6 (diff)
parente95973d3462cdacd165a4057632d46248ded7b8a (diff)
Merge branch 'master' into fork/IngHK/cdch_upgrade
# Conflicts: # README.rst # docs/reference/index.rst # src/class/cdc/cdc_device.c # src/class/cdc/cdc_host.c
Diffstat (limited to '.github/workflows/pre-commit.yml')
-rw-r--r--.github/workflows/pre-commit.yml11
1 files changed, 4 insertions, 7 deletions
diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml
index e36259daa..ed0efd66e 100644
--- a/.github/workflows/pre-commit.yml
+++ b/.github/workflows/pre-commit.yml
@@ -7,18 +7,13 @@ on:
branches: [ master ]
concurrency:
- group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
+ group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- - name: Setup Python
- uses: actions/setup-python@v5
- with:
- python-version: '3.x'
-
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
@@ -34,10 +29,12 @@ jobs:
#ceedling test:all
- name: Run pre-commit
- uses: pre-commit/[email protected]
+ uses: pre-commit/[email protected]
- name: Build Fuzzer
run: |
+ sudo apt install libc++-dev libc++abi-dev
+ clang --version
export CC=clang
export CXX=clang++
fuzz_harness=$(ls -d test/fuzz/device/*/)