-
Notifications
You must be signed in to change notification settings - Fork 219
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Testing ubuntu and debian builds on CI. all v1/v2 actions to v4 migra…
…ted (#282) * Smoke test distro build on ubuntu and debian builds * Smoke test distro build on ubuntu and debian builds * Using ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION in CI smoke build checks and in release due to ubuntu:bionic * Using ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION in CI smoke build checks and in release due to ubuntu:bionic * use checkout@v3 in case of ubuntu 18.04 * use checkout@v3 in case of ubuntu 18.04 * Continue on error on smoke test * using same deps on docker build and build steps of ci smoke test * noninteractive on smoke test build * Using actions/download-artifact@v3 for release smoke test * Avoid usage of ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION on publish-to-apt
- Loading branch information
1 parent
0fbf8b7
commit 771f34a
Showing
2 changed files
with
48 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,39 @@ name: CI | |
on: [push, pull_request] | ||
|
||
jobs: | ||
smoketest-build-distros: | ||
runs-on: ubuntu-latest | ||
continue-on-error: true | ||
env: | ||
ARCH: amd64 | ||
# required by ubuntu:bionic | ||
# https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/ | ||
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true | ||
DEBIAN_FRONTEND: noninteractive | ||
strategy: | ||
matrix: | ||
image: ${{ fromJSON(vars.SMOKE_TEST_IMAGES) }} | ||
container: ${{ matrix.image }} | ||
name: Build ${{ matrix.image }} | ||
steps: | ||
- name: Checkout Code for ubuntu:bionic | ||
if: matrix.image == 'ubuntu:bionic' | ||
uses: actions/checkout@v3 | ||
|
||
- name: Checkout Code for other versions | ||
if: matrix.image != 'ubuntu:bionic' | ||
uses: actions/checkout@v4 | ||
|
||
- name: Install dependencies | ||
run: | | ||
apt-get -qq update -y | ||
apt-get install -y \ | ||
build-essential autoconf automake libpcre3-dev libevent-dev \ | ||
pkg-config zlib1g-dev libssl-dev libboost-all-dev cmake flex | ||
- name: Build | ||
run: autoreconf -ivf && ./configure && make -j | ||
|
||
build-notls: | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
@@ -107,7 +140,7 @@ jobs: | |
runs-on: macos-latest | ||
continue-on-error: true | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- uses: actions/checkout@v4 | ||
- name: Install dependencies | ||
run: brew install autoconf automake libtool libevent openssl@${{ matrix.openssl }} | ||
- name: Build | ||
|
@@ -122,7 +155,7 @@ jobs: | |
platform: [macos-12] | ||
runs-on: ${{ matrix.platform }} | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- uses: actions/checkout@v4 | ||
- name: Install dependencies | ||
run: brew install autoconf automake libtool libevent [email protected] | ||
- name: Build | ||
|
@@ -135,7 +168,7 @@ jobs: | |
platform: [macos-12] | ||
runs-on: ${{ matrix.platform }} | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- uses: actions/checkout@v4 | ||
- name: Install dependencies | ||
run: brew install autoconf automake libtool libevent pkg-config | ||
- name: Install openssl v1.0.2 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters