Skip to content

Search for nginx folder based on CARGO_MANIFEST_DIR #7

Search for nginx folder based on CARGO_MANIFEST_DIR

Search for nginx folder based on CARGO_MANIFEST_DIR #7

Workflow file for this run

name: Rust
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: self-hosted-ubuntu-22-04-regular-x64
container: rust:slim-bookworm
steps:
- uses: actions/checkout@v3
- name: Build
run: |
apt update
apt install -y curl build-essential libpcre3 libpcre3-dev zlib1g zlib1g-dev libssl-dev libgd-dev libxml2 libxml2-dev uuid-dev clang
curl http://nginx.org/download/nginx-1.25.2.tar.gz | tar xz
ls -l
ls -l nginx-1.25.2
echo $PWD
cargo build --verbose
- name: Run tests
run: cargo test --verbose