Skip to content

Commit

Permalink
Use github repos for nginx and nginx-tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
jimf5 committed Oct 4, 2024
1 parent 4c841c1 commit 1074d02
Showing 1 changed file with 16 additions and 5 deletions.
21 changes: 16 additions & 5 deletions .github/workflows/nginx-otel-module-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@ jobs:
sudo apt-get update
sudo apt-get install -y cmake libc-ares-dev libre2-dev
- name: Checkout nginx
run: hg clone http://hg.nginx.org/nginx/
uses: actions/checkout@v4
with:
repository: nginx/nginx
path: nginx
- name: Configure nginx
working-directory: nginx
run: auto/configure --with-compat
Expand Down Expand Up @@ -68,16 +71,24 @@ jobs:
open-telemetry/opentelemetry-collector-releases/releases/download/\
v0.76.1/otelcol_0.76.1_linux_amd64.tar.gz
tar -xzf otelcol_0.76.1_linux_amd64.tar.gz
- name: Checkout nginx and nginx-test
run: |
hg clone http://hg.nginx.org/nginx/
hg clone http://hg.nginx.org/nginx-tests/
- name: Checkout nginx
uses: actions/checkout@v4
with:
repository: nginx/nginx
path: nginx
- name: Build nginx
working-directory: nginx
run: |
auto/configure --with-compat --with-debug --with-http_ssl_module \
--with-http_v2_module --with-http_v3_module
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
working-directory: tests
run: |
Expand Down

0 comments on commit 1074d02

Please sign in to comment.