mirror of
https://github.com/imgproxy/imgproxy.git
synced 2025-10-02 17:09:48 +02:00
Fix CI
This commit is contained in:
2
.github/ci-docker/Dockerfile
vendored
2
.github/ci-docker/Dockerfile
vendored
@@ -30,7 +30,7 @@ RUN curl https://sh.rustup.rs -sSf | sh -s -- -y \
|
||||
&& cd /root \
|
||||
&& git clone --depth 1 https://github.com/DarthSim/quantizr.git \
|
||||
&& cd quantizr \
|
||||
&& cargo cinstall --release --library-type=cdylib \
|
||||
&& cargo cinstall --release --library-type=cdylib --prefix=/usr/local --libdir=/usr/local/lib \
|
||||
&& rm -rf /root/.rustup /root/.cargo
|
||||
|
||||
ENV PATH="/root/.python/bin:$PATH"
|
||||
|
18
.github/workflows/lint.yml
vendored
18
.github/workflows/lint.yml
vendored
@@ -33,9 +33,19 @@ jobs:
|
||||
env:
|
||||
LD_LIBRARY_PATH: "/usr/local/lib:/root/vips/${{ matrix.vips-version }}/lib"
|
||||
PKG_CONFIG_PATH: "/usr/local/lib/pkgconfig:/root/vips/${{ matrix.vips-version }}/lib/pkgconfig"
|
||||
- name: Clang lint
|
||||
uses: cpp-linter/cpp-linter-action@v2
|
||||
|
||||
c-lint:
|
||||
runs-on: ubuntu-24.04
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: cpp-linter/cpp-linter-action@v2
|
||||
id: linter
|
||||
with:
|
||||
style: file
|
||||
version: 18
|
||||
tidy-checks: '-*'
|
||||
version: 18 # Ubuntu 24.04 provides clang-format-18
|
||||
tidy-checks: '-*' # disable clang-tidy
|
||||
|
||||
- name: Fail fast
|
||||
continue-on-error: true # TODO: remove this line in the future
|
||||
if: steps.linter.outputs.checks-failed > 0
|
||||
run: exit 1
|
||||
|
Reference in New Issue
Block a user