Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
tilelang
Commits
6aaf3c7a
Unverified
Commit
6aaf3c7a
authored
Dec 17, 2025
by
Lei Wang
Committed by
GitHub
Dec 17, 2025
Browse files
[CI] Moved the clang-tidy step to after pip install (#1456)
parent
aa19342c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
20 deletions
+20
-20
.github/workflows/ci.yml
.github/workflows/ci.yml
+20
-20
No files found.
.github/workflows/ci.yml
View file @
6aaf3c7a
...
...
@@ -288,6 +288,26 @@ jobs:
echo "Clearing uv cache at ${UV_CACHE_DIR} due to failure."
uv cache clean
-
name
:
Enable core dump generation (Linux / GitHub-hosted runners)
if
:
${{ runner.os == 'Linux' && !startsWith(matrix.runner.name, 'self-hosted') }}
run
:
|
sudo sysctl -w kernel.core_pattern="core.${{ matrix.python-version }}.${{ matrix.runner.toolkit }}.%P"
sudo sysctl -w kernel.core_uses_pid=0
sudo sysctl -w fs.suid_dumpable=1
sysctl kernel.core_pattern kernel.core_uses_pid fs.suid_dumpable
-
name
:
Enable core dump generation (macOS / GitHub-hosted runners)
if
:
${{ runner.os == 'macOS' && !startsWith(matrix.runner.name, 'self-hosted') }}
run
:
|
sudo sysctl -w kern.corefile="core.${{ matrix.python-version }}.${{ matrix.runner.toolkit }}.%P"
sudo sysctl -w kern.coredump=1
sudo sysctl -w kern.sugid_coredump=1
sysctl kern.corefile kern.coredump kern.sugid_coredump
-
name
:
Install project (wheel form)
run
:
|
uv pip install -v .
-
name
:
Run clang-tidy
id
:
clang-tidy
if
:
runner.os == 'Linux'
...
...
@@ -328,26 +348,6 @@ jobs:
exit "${rc}"
fi
-
name
:
Enable core dump generation (Linux / GitHub-hosted runners)
if
:
${{ runner.os == 'Linux' && !startsWith(matrix.runner.name, 'self-hosted') }}
run
:
|
sudo sysctl -w kernel.core_pattern="core.${{ matrix.python-version }}.${{ matrix.runner.toolkit }}.%P"
sudo sysctl -w kernel.core_uses_pid=0
sudo sysctl -w fs.suid_dumpable=1
sysctl kernel.core_pattern kernel.core_uses_pid fs.suid_dumpable
-
name
:
Enable core dump generation (macOS / GitHub-hosted runners)
if
:
${{ runner.os == 'macOS' && !startsWith(matrix.runner.name, 'self-hosted') }}
run
:
|
sudo sysctl -w kern.corefile="core.${{ matrix.python-version }}.${{ matrix.runner.toolkit }}.%P"
sudo sysctl -w kern.coredump=1
sudo sysctl -w kern.sugid_coredump=1
sysctl kern.corefile kern.coredump kern.sugid_coredump
-
name
:
Install project (wheel form)
run
:
|
uv pip install -v .
-
name
:
Run examples with Python ${{ matrix.python-version }} (${{ matrix.runner.toolkit }})
if
:
contains(matrix.runner.toolkit, 'CUDA')
run
:
|
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment