diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 27408a85..01cf9296 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -73,6 +73,35 @@ jobs: name: ${{ matrix.name }}.tar.gz path: ${{ matrix.name }}.tar.gz + build-debug: + env: + IN_PIPELINE: true + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Install System Dependencies + run: | + env + sudo apt-get update + sudo apt-get install -y --no-install-recommends libssl-dev pkg-config + - uses: actions-rs/toolchain@v1 + with: + toolchain: stable + target: x86_64-unknown-linux-musl + override: true + - uses: actions-rs/cargo@v1 + env: + PKG_CONFIG_PATH: /usr/lib/x86_64-linux-gnu/pkgconfig + OPENSSL_DIR: /usr/lib/ssl + with: + use-cross: true + command: build + args: --target=x86_64-unknown-linux-musl + - uses: actions/upload-artifact@v2 + with: + name: x86_64-linux-debug-feroxbuster + path: target/x86_64-unknown-linux-musl/debug/feroxbuster + # build-deb: # needs: [build-nix] # runs-on: ubuntu-latest