-
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 migrated
- Loading branch information
1 parent
0fbf8b7
commit 33f54c8
Showing
2 changed files
with
23 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 |
---|---|---|
|
@@ -18,7 +18,11 @@ jobs: | |
build-ubuntu: | ||
strategy: | ||
matrix: | ||
platform: [ubuntu-latest, ubuntu-20.04] | ||
platform: [ubuntu-bionic, ubuntu-focal, ubuntu-jammy, ubuntu-noble, ubuntu-latest, debian:bookworm, debian:bullsey] | ||
name: Build ${{ matrix.platform }} | ||
env: | ||
# 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 | ||
runs-on: ${{ matrix.platform }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
@@ -36,9 +40,11 @@ jobs: | |
architecture: x64 | ||
|
||
- name: Install Python dependencies | ||
if: matrix.platform == 'ubuntu-latest' | ||
run: pip install -r ./tests/test_requirements.txt | ||
|
||
- name: Install Redis | ||
if: matrix.platform == 'ubuntu-latest' | ||
run: | | ||
curl -fsSL https://packages.redis.io/gpg | sudo gpg --dearmor -o /usr/share/keyrings/redis-archive-keyring.gpg | ||
echo "deb [signed-by=/usr/share/keyrings/redis-archive-keyring.gpg] https://packages.redis.io/deb $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/redis.list | ||
|
@@ -58,6 +64,7 @@ jobs: | |
./tests/gen-test-certs.sh | ||
- name: Test OSS TCP | ||
if: matrix.platform == 'ubuntu-latest' | ||
timeout-minutes: 10 | ||
run: | | ||
./tests/run_tests.sh | ||
|
@@ -81,6 +88,7 @@ jobs: | |
TLS_PROTOCOLS='TLSv1.3' VERBOSE=1 TLS=1 ./tests/run_tests.sh | ||
- name: Test OSS-CLUSTER TCP | ||
if: matrix.platform == 'ubuntu-latest' | ||
timeout-minutes: 10 | ||
run: | | ||
OSS_STANDALONE=0 OSS_CLUSTER=1 VERBOSE=1 \ | ||
|
@@ -106,8 +114,11 @@ jobs: | |
openssl: ["3.0"] | ||
runs-on: macos-latest | ||
continue-on-error: true | ||
env: | ||
# 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 | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- uses: actions/checkout@v4 | ||
- name: Install dependencies | ||
run: brew install autoconf automake libtool libevent openssl@${{ matrix.openssl }} | ||
- name: Build | ||
|
@@ -121,8 +132,11 @@ jobs: | |
matrix: | ||
platform: [macos-12] | ||
runs-on: ${{ matrix.platform }} | ||
env: | ||
# 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 | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- uses: actions/checkout@v4 | ||
- name: Install dependencies | ||
run: brew install autoconf automake libtool libevent [email protected] | ||
- name: Build | ||
|
@@ -134,8 +148,11 @@ jobs: | |
matrix: | ||
platform: [macos-12] | ||
runs-on: ${{ matrix.platform }} | ||
env: | ||
# 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 | ||
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