Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,19 +81,30 @@ jobs:
toolchain: ${{ matrix.rust-version }}
components: clippy, rustfmt

- uses: perl-actions/install-with-cpm@8b1a9840b26cc3885ae2889749a48629be2501b0 # v1.9
with:
install: IO::Socket::SSL

- uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
bin/pebble
nginx/objs/**/CACHEDIR.TAG
nginx/objs/**/ngx-debug
nginx/objs/**/ngx-release
target/
key: ${{ runner.os }}-nginx-${{ hashFiles('**/Cargo.lock') }}
restore-keys: ${{ runner.os }}-nginx-

- name: download pebble
run: |
build/get-pebble.sh
echo TEST_NGINX_PEBBLE_BINARY="$PWD/bin/pebble" >> "$GITHUB_ENV"

- name: build
id: build
run: make BUILD=${{ matrix.build }} -j $(nproc) build
Expand Down
11 changes: 9 additions & 2 deletions .github/workflows/sanitizers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ env:
cargo rust-src rustfmt
clang compiler-rt llvm
git-core
make patch
make openssl patch which
perl-Digest-SHA
perl-FindBin
perl-IO-Socket-SSL
perl-Test-Harness
Expand Down Expand Up @@ -56,12 +57,18 @@ jobs:
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
bin/pebble
nginx/objs/**/CACHEDIR.TAG
nginx/objs/**/ngx-debug
nginx/objs/**/ngx-release
key: ${{ runner.os }}-cargo-asan-${{ hashFiles('**/Cargo.lock') }}
restore-keys: ${{ runner.os }}-cargo-asan-

- name: download pebble
run: |
build/get-pebble.sh
echo TEST_NGINX_PEBBLE_BINARY="$PWD/bin/pebble" >> "$GITHUB_ENV"

- name: Configure and build nginx
run: |
make -j$(nproc) BUILD=sanitize build
Expand All @@ -75,4 +82,4 @@ jobs:
TEST_NGINX_GLOBALS: >-
user root;
run: |
make -j$(nproc) BUILD=sanitize test
make -j$(nproc) BUILD=sanitize TEST_PREREQ= test
Loading
Loading