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

added support for amazon linux and renamed tests.yml #1401

Merged
merged 2 commits into from
Jun 17, 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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
40 changes: 40 additions & 0 deletions .github/workflows/amazon_linux_tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: AmazonLinux

on:
push:
pull_request:
types: [ opened, reopened, synchronize ]

jobs:
builds:
strategy:
fail-fast: false
matrix:
# amazonlinux 2 is end-of-life 2025-06
os: [ 'amazonlinux:2', 'amazonlinux:2023' ]

runs-on: ubuntu-latest
container: ${{ matrix.os }}

steps:
- name: Install Dependencies
run: |
yum install -y gcc make gzip tar openssl-devel libevent-devel
# Delay checkout until after dependencies have been installed. Amazon linux is very minimal and lacks basic stuff by default.
# use v3 of checkout until the weird container, nodejs, glibc issue is fixed
- uses: actions/checkout@v3
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

version bump to v4

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the glibc errors still seem to be present for amazon linux 2 for version 4

with:
fetch-depth: 0

- name: Configure
run: ./configure

- name: Compile
run: make

- name: Unit Test
run: make check

- name: Integration Test
working-directory: examples
run: ./run_tests.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: C/C++ CI
name: Ubuntu

on:
push:
Expand All @@ -10,7 +10,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ 'ubuntu:16.04', 'ubuntu:18.04', 'ubuntu:20.04', 'ubuntu:22.04' ]
os: [ 'ubuntu:16.04', 'ubuntu:18.04', 'ubuntu:20.04', 'ubuntu:22.04' ]
runs-on: ubuntu-latest
container: ${{ matrix.os }}
steps:
Expand Down