mirror of
https://github.com/curl/curl.git
synced 2026-07-28 21:13:07 +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
10
.github/workflows/nss.yml
vendored
10
.github/workflows/nss.yml
vendored
|
|
@ -21,22 +21,22 @@ jobs:
|
|||
matrix:
|
||||
build:
|
||||
- name: NSS
|
||||
install:
|
||||
configure: --with-nss --enable-debug --enable-werror --with-nss-deprecated --enable-headers-api
|
||||
install: clang-9 libnss3-dev libpsl-dev libbrotli-dev libzstd-dev libnghttp2-dev nss-plugin-pem
|
||||
configure: CC=clang-9 CPPFLAGS="-isystem /usr/include/nss" --with-nss --enable-debug --with-nss-deprecated --enable-headers-api
|
||||
|
||||
steps:
|
||||
- run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install libtool autoconf automake pkg-config stunnel4 libnss3-dev clang-9 libpsl-dev libbrotli-dev libzstd-dev libnghttp2-dev nss-plugin-pem
|
||||
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'
|
||||
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- run: autoreconf -fi
|
||||
name: 'autoreconf'
|
||||
|
||||
- run: CC=clang-9 CPPFLAGS="-isystem /usr/include/nss" ./configure ${{ matrix.build.configure }}
|
||||
- run: ./configure --enable-warnings --enable-werror ${{ matrix.build.configure }}
|
||||
name: 'configure with clang'
|
||||
|
||||
- run: make V=1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue