summaryrefslogtreecommitdiff
path: root/.github/workflows/linux-hyper.yml
diff options
context:
space:
mode:
authorMarc Hoersken <info@marc-hoersken.de>2022-05-18 00:03:16 +0200
committerMarc Hoersken <info@marc-hoersken.de>2022-05-25 00:16:30 +0200
commit498ecdfd6488088ad2c03a43b919e0bead80fadc (patch)
treea761fdcdb2e918df5311d5564fb5e69f9b9f4114 /.github/workflows/linux-hyper.yml
parent519e5e5f65b8cabe8c97ceb7fe08cfe1eb78ee7a (diff)
downloadcurl-498ecdfd6488088ad2c03a43b919e0bead80fadc.tar.gz
GHA: align all install, configure and build steps again
First step towards more unified build steps on GitHub Actions. Closes #8873
Diffstat (limited to '.github/workflows/linux-hyper.yml')
-rw-r--r--.github/workflows/linux-hyper.yml38
1 files changed, 25 insertions, 13 deletions
diff --git a/.github/workflows/linux-hyper.yml b/.github/workflows/linux-hyper.yml
index f9c412616..4249f966b 100644
--- a/.github/workflows/linux-hyper.yml
+++ b/.github/workflows/linux-hyper.yml
@@ -22,29 +22,41 @@ jobs:
build:
- name: hyper
install:
- configure: --with-openssl --with-hyper=$HOME/hyper --enable-headers-api
+ configure: LDFLAGS="-Wl,-rpath,$HOME/hyper/target/debug" --with-openssl --with-hyper=$HOME/hyper --enable-debug --enable-headers-api
steps:
- run: |
- sudo apt-get install libtool autoconf automake pkg-config
+ sudo apt-get update
+ sudo apt-get install libtool autoconf automake pkg-config stunnel4 ${{ matrix.build.install }}
sudo python3 -m pip install impacket
- name: install prereqs and impacket
+ name: 'install prereqs and impacket'
- - run: (cd $HOME;
- git clone --depth=1 https://github.com/hyperium/hyper.git;
- curl https://sh.rustup.rs -sSf | sh -s -- -y;
- source $HOME/.cargo/env;
- rustup toolchain install nightly;)
- name: install rust
+ - run: |
+ cd $HOME
+ git clone --depth=1 https://github.com/hyperium/hyper.git
+ curl https://sh.rustup.rs -sSf | sh -s -- -y
+ source $HOME/.cargo/env
+ rustup toolchain install nightly
+ name: 'install rust'
- - run: (cd $HOME/hyper;
- RUSTFLAGS="--cfg hyper_unstable_ffi" cargo +nightly rustc --features client,http1,http2,ffi -Z unstable-options --crate-type cdylib)
+ - run: |
+ cd $HOME/hyper
+ RUSTFLAGS="--cfg hyper_unstable_ffi" cargo +nightly rustc --features client,http1,http2,ffi -Z unstable-options --crate-type cdylib
name: 'install hyper'
- uses: actions/checkout@v3
- - run: autoreconf -fi && LDFLAGS="-Wl,-rpath,$HOME/hyper/target/debug" ./configure --enable-debug --enable-werror ${{ matrix.build.configure }} && make V=1
- name: 'configure and build'
+ - run: autoreconf -fi
+ name: 'autoreconf'
+
+ - run: ./configure --enable-warnings --enable-werror ${{ matrix.build.configure }}
+ name: 'configure'
+
+ - run: make V=1
+ name: 'make'
+
+ - run: make V=1 examples
+ name: 'make examples'
- run: make V=1 test-ci
name: 'test'