mirror of
https://github.com/curl/curl.git
synced 2026-07-28 06:23:06 +03:00
GHA: align all install, configure and build steps again
First step towards more unified build steps on GitHub Actions. Closes #8873
This commit is contained in:
parent
519e5e5f65
commit
498ecdfd64
14 changed files with 175 additions and 89 deletions
30
.github/workflows/openssl3.yml
vendored
30
.github/workflows/openssl3.yml
vendored
|
|
@ -21,29 +21,39 @@ jobs:
|
|||
matrix:
|
||||
build:
|
||||
- name: openssl3
|
||||
install:
|
||||
configure: --with-openssl=$HOME/openssl3 --enable-debug --enable-werror
|
||||
- name: clang-openssl3
|
||||
install:
|
||||
configure: CC=clang --with-openssl=$HOME/openssl3 --enable-debug --enable-werror
|
||||
install: libpsl-dev libbrotli-dev libzstd-dev zlib1g-dev
|
||||
configure: LDFLAGS="-Wl,-rpath,$HOME/openssl3/lib64" --with-openssl=$HOME/openssl3 --enable-debug
|
||||
- name: openssl3-clang
|
||||
install: libpsl-dev libbrotli-dev libzstd-dev zlib1g-dev clang
|
||||
configure: CC=clang LDFLAGS="-Wl,-rpath,$HOME/openssl3/lib64" --with-openssl=$HOME/openssl3 --enable-debug
|
||||
|
||||
steps:
|
||||
- run: |
|
||||
sudo apt-get install libtool autoconf automake pkg-config clang stunnel4 libpsl-dev libbrotli-dev libzstd-dev zlib1g-dev
|
||||
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: |
|
||||
git clone --depth=1 https://github.com/openssl/openssl
|
||||
cd openssl
|
||||
./config enable-tls1_3 --prefix=$HOME/openssl3
|
||||
make && make install_sw
|
||||
name: 'build and install openssl3'
|
||||
name: 'install openssl3'
|
||||
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- run: autoreconf -fi && LDFLAGS="-Wl,-rpath,$HOME/openssl3/lib64" ./configure --enable-warnings --enable-werror --enable-headers-api ${{ matrix.build.configure }} && make V=1
|
||||
name: 'configure and build'
|
||||
- run: autoreconf -fi
|
||||
name: 'autoreconf'
|
||||
|
||||
- run: ./configure --enable-warnings --enable-werror ${{ matrix.build.configure }} --enable-headers-api
|
||||
name: 'configure'
|
||||
|
||||
- run: make V=1
|
||||
name: 'make'
|
||||
|
||||
- run: make V=1 examples
|
||||
name: 'make examples'
|
||||
|
||||
- run: make V=1 test-ci
|
||||
name: 'test'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue