Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove SLES 12 due to EOL #5

Merged
merged 2 commits into from
Nov 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 3 additions & 12 deletions .github/workflows/nginx-buildbot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,13 @@ jobs:
needs: check-if-allowed
strategy:
matrix:
os: [ alpine-3.19, alpine-3.20, amazonlinux-2, amazonlinux-2023, debian-11, debian-12, freebsd-14, rhel-8, rhel-9, sles-12, ubuntu-20.04, ubuntu-22.04, ubuntu-24.04 ]
os: [ alpine-3.19, alpine-3.20, amazonlinux-2, amazonlinux-2023, debian-11, debian-12, freebsd-14, rhel-8, rhel-9, ubuntu-20.04, ubuntu-22.04, ubuntu-24.04 ]
arch: [ amd64, arm64 ]
subarch: [ '' ]
sanitizer: [ '' ]
exclude:
- os: freebsd-14 # we don't have an arm64 builder for freebsd-14 yet
arch: arm64
- os: sles-12 # we don't have an arm64 for SLES 12
arch: arm64
include:
- os: debian-12
arch: amd64
Expand All @@ -65,11 +63,11 @@ jobs:
steps:
- name: Check out nginx sources
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
if: ${{ matrix.os == 'amazonlinux-2' || matrix.os == 'sles-12' }}
if: ${{ matrix.os == 'amazonlinux-2' }}

- name: Check out nginx sources
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
if: ${{ matrix.os != 'amazonlinux-2' && matrix.os != 'sles-12' }}
if: ${{ matrix.os != 'amazonlinux-2' }}

- name: Set the defaults and set up environment
run: |
Expand Down Expand Up @@ -111,10 +109,6 @@ jobs:
"CC_OPT": "$(rpm --eval %{optflags}) $(pcre2-config --cflags) -fPIC",
"LD_OPT": "-Wl,-z,relro -Wl,-z,now"
},
"sles-12": {
"CC_OPT": "$(rpm --eval %{optflags}) $(pcre2-config --cflags) -fPIC",
"LD_OPT": "-Wl,-z,relro -Wl,-z,now"
},
"ubuntu-20.04": {
"CC_OPT": "$(DEB_BUILD_MAINT_OPTIONS=hardening=+all DEB_CFLAGS_MAINT_APPEND=-fPIC DEB_LDFLAGS_MAINT_APPEND=-Wl,--as-needed dpkg-buildflags --get CFLAGS)",
"LD_OPT": "$(DEB_BUILD_MAINT_OPTIONS=hardening=+all DEB_CFLAGS_MAINT_APPEND=-fPIC DEB_LDFLAGS_MAINT_APPEND=-Wl,--as-needed dpkg-buildflags --get LDFLAGS)"
Expand Down Expand Up @@ -251,9 +245,6 @@ jobs:
NGINX_CONFIGURE_ADD_GEOIP=""
NGINX_CONFIGURE_ADD_GEOIP_MODULES=""
;;
sles-*)
NGINX_CONFIGURE_ADD_COMMON=${NGINX_CONFIGURE_ADD_COMMON%%--with-http_v3_module}
;;
esac

case "${{ matrix.subarch }}" in
Expand Down
23 changes: 3 additions & 20 deletions .github/workflows/njs-buildbot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,12 @@ jobs:
needs: check-if-allowed
strategy:
matrix:
os: [ alpine-3.19, amazonlinux-2, amazonlinux-2023, debian-11, debian-12, freebsd-14, rhel-8, rhel-9, sles-12, ubuntu-20.04, ubuntu-22.04, ubuntu-24.04 ]
os: [ alpine-3.19, amazonlinux-2, amazonlinux-2023, debian-11, debian-12, freebsd-14, rhel-8, rhel-9, ubuntu-20.04, ubuntu-22.04, ubuntu-24.04 ]
arch: [ amd64, arm64 ]
subarch: [ '' ]
exclude:
- os: freebsd-14 # we don't have arm64 builder for freebsd-14 yet
arch: arm64
- os: sles-12 # we don't have an arm64 for SLES 12
arch: arm64
include:
- os: debian-12
arch: amd64
Expand All @@ -57,11 +55,11 @@ jobs:
steps:
- name: checkout v3
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
if: ${{ matrix.os == 'amazonlinux-2' || matrix.os == 'sles-12' }}
if: ${{ matrix.os == 'amazonlinux-2' }}

- name: checkout v4
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
if: ${{ matrix.os != 'amazonlinux-2' && matrix.os != 'sles-12' }}
if: ${{ matrix.os != 'amazonlinux-2' }}

- name: Set the defaults and set up environment
run: |
Expand Down Expand Up @@ -117,12 +115,6 @@ jobs:
"LD_OPT": "-Wl,-z,relro -Wl,-z,now",
"type": "rpm"
},
"sles-12": {
"NGINX_CONFIGURE_CMD_APPEND": "--with-http_geoip_module --with-stream_geoip_module",
"CC_OPT": "$(rpm --eval %{optflags}) $(pcre2-config --cflags) -fPIC",
"LD_OPT": "-Wl,-z,relro -Wl,-z,now",
"type": "rpm"
},
"ubuntu-20.04": {
"NGINX_CONFIGURE_CMD_APPEND": "--with-http_geoip_module --with-stream_geoip_module",
"DEB_BUILD_MAINT_OPTIONS": "hardening=+all",
Expand Down Expand Up @@ -208,7 +200,6 @@ jobs:
git clone https://github.com/nginx/nginx-tests

- name: Check out and build quickjs
if: ${{ matrix.os != 'sles-12' }}
run: |
git clone https://github.com/bellard/quickjs
cd quickjs
Expand All @@ -228,7 +219,6 @@ jobs:
$MAKE_UTILITY clean

- name: Configure and make njs with quickjs
if: ${{ matrix.os != 'sles-12' }}
run: |
./configure \
--with-quickjs \
Expand All @@ -238,7 +228,6 @@ jobs:
$MAKE_UTILITY -j$(nproc)

- name: Test njs with quickjs
if: ${{ matrix.os != 'sles-12' }}
run: |
$MAKE_UTILITY test
$MAKE_UTILITY clean
Expand All @@ -264,7 +253,6 @@ jobs:
TEST_NGINX_VERBOSE: 1

- name: Configure and build nginx and njs modules with quickjs, static modules
if: ${{ matrix.os != 'sles-12' }}
run: |
cd nginx-source
$NGINX_CONFIGURE_CMD \
Expand All @@ -275,7 +263,6 @@ jobs:
$MAKE_UTILITY -j$(nproc)

- name: Test njs modules, static modules
if: ${{ matrix.os != 'sles-12' }}
run: |
ulimit -c unlimited
prove -v -j$(nproc) -Inginx-tests/lib --state=save nginx/t . || prove -v -Inginx-tests/lib --state=failed
Expand All @@ -284,7 +271,6 @@ jobs:
TEST_NGINX_VERBOSE: 1

- name: Test njs modules (js_engine qjs), static modules
if: ${{ matrix.os != 'sles-12' }}
run: |
ulimit -c unlimited
prove -v -j$(nproc) -Inginx-tests/lib --state=save nginx/t . || prove -v -Inginx-tests/lib --state=failed
Expand All @@ -295,7 +281,6 @@ jobs:
TEST_NGINX_VERBOSE: 1

- name: Configure and build nginx and njs modules with quickjs, dynamic modules
if: ${{ matrix.os != 'sles-12' }}
run: |
cd nginx-source
$NGINX_CONFIGURE_CMD \
Expand All @@ -307,7 +292,6 @@ jobs:
$MAKE_UTILITY -j$(nproc)

- name: Test njs modules, dynamic modules
if: ${{ matrix.os != 'sles-12' }}
run: |
ulimit -c unlimited
prove -v -j$(nproc) -Inginx-tests/lib --state=save nginx/t . || prove -v -Inginx-tests/lib --state=failed
Expand All @@ -317,7 +301,6 @@ jobs:
TEST_NGINX_VERBOSE: 1

- name: Test njs modules (js_engine qjs), dynamic modules
if: ${{ matrix.os != 'sles-12' }}
run: |
ulimit -c unlimited
prove -v -j$(nproc) -Inginx-tests/lib --state=save nginx/t . || prove -v -Inginx-tests/lib --state=failed
Expand Down