mirror of
https://github.com/curl/curl.git
synced 2025-01-30 14:22:33 +08:00
CI/GHA: merge event-based and NSS into new linux workflow
Continue work on merging all Linux workflows into one file. Follow up to #9501 Closes #9506
This commit is contained in:
parent
f71b79feb5
commit
94445e7977
56
.github/workflows/event-based.yml
vendored
56
.github/workflows/event-based.yml
vendored
@ -1,56 +0,0 @@
|
|||||||
# Copyright (C) 2000 - 2022 Daniel Stenberg, <daniel@haxx.se>, et al.
|
|
||||||
#
|
|
||||||
# SPDX-License-Identifier: curl
|
|
||||||
|
|
||||||
name: Linux
|
|
||||||
|
|
||||||
on:
|
|
||||||
# Trigger the workflow on push or pull requests, but only for the
|
|
||||||
# master branch
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- master
|
|
||||||
- '*/ci'
|
|
||||||
pull_request:
|
|
||||||
branches:
|
|
||||||
- master
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
autotools:
|
|
||||||
name: ${{ matrix.build.name }}
|
|
||||||
runs-on: 'ubuntu-latest'
|
|
||||||
timeout-minutes: 60
|
|
||||||
strategy:
|
|
||||||
fail-fast: false
|
|
||||||
matrix:
|
|
||||||
build:
|
|
||||||
- name: event-based
|
|
||||||
install: libpsl-dev libbrotli-dev libzstd-dev libssh-dev
|
|
||||||
configure: --enable-debug --disable-shared --disable-threaded-resolver --with-libssh --with-openssl
|
|
||||||
tflags: -n -e '!TLS-SRP'
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- run: |
|
|
||||||
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'
|
|
||||||
|
|
||||||
- uses: actions/checkout@v3
|
|
||||||
|
|
||||||
- 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'
|
|
||||||
env:
|
|
||||||
TFLAGS: "${{ matrix.build.tflags }}"
|
|
9
.github/workflows/linux.yml
vendored
9
.github/workflows/linux.yml
vendored
@ -34,10 +34,19 @@ jobs:
|
|||||||
install_steps: bearssl
|
install_steps: bearssl
|
||||||
configure: CC=clang LDFLAGS="-Wl,-rpath,$HOME/bear/lib" --with-bearssl=$HOME/bear --enable-debug
|
configure: CC=clang LDFLAGS="-Wl,-rpath,$HOME/bear/lib" --with-bearssl=$HOME/bear --enable-debug
|
||||||
|
|
||||||
|
- name: event-based
|
||||||
|
install_packages: libpsl-dev libbrotli-dev libzstd-dev libssh-dev
|
||||||
|
configure: --enable-debug --disable-shared --disable-threaded-resolver --with-libssh --with-openssl
|
||||||
|
tflags: -n -e '!TLS-SRP'
|
||||||
|
|
||||||
- name: hyper
|
- name: hyper
|
||||||
install_steps: rust hyper
|
install_steps: rust hyper
|
||||||
configure: LDFLAGS="-Wl,-rpath,$HOME/hyper/target/debug" --with-openssl --with-hyper=$HOME/hyper --enable-debug --enable-websockets
|
configure: LDFLAGS="-Wl,-rpath,$HOME/hyper/target/debug" --with-openssl --with-hyper=$HOME/hyper --enable-debug --enable-websockets
|
||||||
|
|
||||||
|
- name: NSS
|
||||||
|
install_packages: 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
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- run: |
|
- run: |
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
|
55
.github/workflows/nss.yml
vendored
55
.github/workflows/nss.yml
vendored
@ -1,55 +0,0 @@
|
|||||||
# Copyright (C) 2000 - 2022 Daniel Stenberg, <daniel@haxx.se>, et al.
|
|
||||||
#
|
|
||||||
# SPDX-License-Identifier: curl
|
|
||||||
|
|
||||||
name: Linux
|
|
||||||
|
|
||||||
on:
|
|
||||||
# Trigger the workflow on push or pull requests, but only for the
|
|
||||||
# master branch
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- master
|
|
||||||
- '*/ci'
|
|
||||||
pull_request:
|
|
||||||
branches:
|
|
||||||
- master
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
autotools:
|
|
||||||
name: ${{ matrix.build.name }}
|
|
||||||
runs-on: 'ubuntu-latest'
|
|
||||||
timeout-minutes: 60
|
|
||||||
strategy:
|
|
||||||
fail-fast: false
|
|
||||||
matrix:
|
|
||||||
build:
|
|
||||||
- name: NSS
|
|
||||||
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
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- run: |
|
|
||||||
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'
|
|
||||||
|
|
||||||
- uses: actions/checkout@v3
|
|
||||||
|
|
||||||
- run: autoreconf -fi
|
|
||||||
name: 'autoreconf'
|
|
||||||
|
|
||||||
- run: ./configure --enable-warnings --enable-werror ${{ matrix.build.configure }}
|
|
||||||
name: 'configure with clang'
|
|
||||||
|
|
||||||
- run: make V=1
|
|
||||||
name: 'make'
|
|
||||||
|
|
||||||
- run: make V=1 examples
|
|
||||||
name: 'make examples'
|
|
||||||
|
|
||||||
- run: make V=1 test-ci
|
|
||||||
name: 'test'
|
|
||||||
env:
|
|
||||||
TFLAGS: "${{ matrix.build.tflags }}"
|
|
Loading…
Reference in New Issue
Block a user