Use github repos for nginx and nginx-tests.
This commit is contained in:
parent
4c841c1c55
commit
cda5e331cb
1 changed files with 16 additions and 5 deletions
21
.github/workflows/nginx-otel-module-check.yml
vendored
21
.github/workflows/nginx-otel-module-check.yml
vendored
|
|
@ -15,7 +15,10 @@ jobs:
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install -y cmake libc-ares-dev libre2-dev
|
sudo apt-get install -y cmake libc-ares-dev libre2-dev
|
||||||
- name: Checkout nginx
|
- name: Checkout nginx
|
||||||
run: hg clone http://hg.nginx.org/nginx/
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
repository: nginx/nginx
|
||||||
|
path: nginx
|
||||||
- name: Configure nginx
|
- name: Configure nginx
|
||||||
working-directory: nginx
|
working-directory: nginx
|
||||||
run: auto/configure --with-compat
|
run: auto/configure --with-compat
|
||||||
|
|
@ -68,16 +71,24 @@ jobs:
|
||||||
open-telemetry/opentelemetry-collector-releases/releases/download/\
|
open-telemetry/opentelemetry-collector-releases/releases/download/\
|
||||||
v0.76.1/otelcol_0.76.1_linux_amd64.tar.gz
|
v0.76.1/otelcol_0.76.1_linux_amd64.tar.gz
|
||||||
tar -xzf otelcol_0.76.1_linux_amd64.tar.gz
|
tar -xzf otelcol_0.76.1_linux_amd64.tar.gz
|
||||||
- name: Checkout nginx and nginx-test
|
- name: Checkout nginx
|
||||||
run: |
|
uses: actions/checkout@v4
|
||||||
hg clone http://hg.nginx.org/nginx/
|
with:
|
||||||
hg clone http://hg.nginx.org/nginx-tests/
|
repository: nginx/nginx
|
||||||
|
path: nginx
|
||||||
- name: Build nginx
|
- name: Build nginx
|
||||||
working-directory: nginx
|
working-directory: nginx
|
||||||
run: |
|
run: |
|
||||||
auto/configure --with-compat --with-debug --with-http_ssl_module \
|
auto/configure --with-compat --with-debug --with-http_ssl_module \
|
||||||
--with-http_v2_module --with-http_v3_module
|
--with-http_v2_module --with-http_v3_module
|
||||||
make -j 4
|
make -j 4
|
||||||
|
- name: Checkout lib from nginx-tests
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
repository: nginx/nginx-tests
|
||||||
|
sparse-checkout: |
|
||||||
|
lib
|
||||||
|
path: nginx-tests
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
working-directory: tests
|
working-directory: tests
|
||||||
run: |
|
run: |
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue