Search for nginx folder based on CARGO_MANIFEST_DIR #7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |