Skip to content

Commit

Permalink
platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
chayim committed Jan 11, 2024
1 parent 279875a commit a52528e
Show file tree
Hide file tree
Showing 2 changed files with 85 additions and 7 deletions.
48 changes: 46 additions & 2 deletions .github/workflows/build-linux-aarch64.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Build (arm64) redis

on:
on:
push:
paths-ignore:
- 'docs/**'
Expand Down Expand Up @@ -66,12 +66,56 @@ jobs:
arch: arm64
secrets: inherit

ubuntu-jammy-arm64:
needs: start-arm64-runner
uses: ./.github/workflows/REUSABLE-linux.yml
with:
docker_image: ubuntu:22.04
deps: apt-get update -qq && apt-get install -qqy build-essential libssl-dev python3 python3-pip jq wget
osnick: ubuntu22.04
arch: arm64
secrets: inherit

rhel7-arm64:
uses: ./.github/workflows/REUSABLE-linux.yml
secrets: inherit
with:
docker_image: rockylinux:7
deps: |
yum install -y epel-release
yum install -y gcc make jemalloc-devel openssl-devel python3 python3-pip jq wget
osnick: rhel7

rhel8-arm64:
uses: ./.github/workflows/REUSABLE-linux.yml
secrets: inherit
with:
docker_image: rockylinux:8
deps: |
dnf install -y epel-release
dnf install -y gcc make jemalloc-devel openssl-devel tar git python3 python3-pip jq wget
osnick: rhel8

rhel9-arm64:
uses: ./.github/workflows/REUSABLE-linux.yml
secrets: inherit
with:
docker_image: rockylinux:9
deps: |
dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm
dnf install -y gcc make jemalloc-devel openssl-devel tar git python3 python3-pip jq wget
osnick: rhel9

stop-arm64-runner:
name: Stop self-hosted EC2 runner
needs:
- start-arm64-runner
- ubuntu-bionic-arm64
- ubuntu-focal-arm64
- ubuntu-jammy-arm64
- rhel7-arm64
- rhel8-arm64
- rhel9-arm64
runs-on: ubuntu-latest
if: ${{ always() }} # required to stop the runner even if the error happened in the previous jobs
steps:
Expand All @@ -87,4 +131,4 @@ jobs:
mode: stop
github-token: ${{ secrets.GH_ACCESS_TOKEN }}
label: ${{ needs.start-arm64-runner.outputs.label }}
ec2-instance-id: ${{ needs.start-arm64-runner.outputs.ec2-instance-id }}
ec2-instance-id: ${{ needs.start-arm64-runner.outputs.ec2-instance-id }}
44 changes: 39 additions & 5 deletions .github/workflows/build-linux-x86_64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,30 +22,64 @@ permissions:

jobs:

ubuntu-bionic-x86-64:
debian-bullseye-x86-64:
uses: ./.github/workflows/REUSABLE-linux.yml
secrets: inherit
with:
docker_image: debian:bullseye-slim
deps: apt-get update -qq && apt-get install -qqy build-essential libssl-dev python3 python3-pip jq wget
osnick: bullseye

ubuntu-jammy-x86-64:
uses: ./.github/workflows/REUSABLE-linux.yml
secrets: inherit
with:
docker_image: ubuntu:22.04
deps: apt-get update -qq && apt-get install -qqy build-essential libssl-dev python3 python3-pip jq wget
osnick: ubuntu22.04

ubuntu-focal-x86-64:
uses: ./.github/workflows/REUSABLE-linux.yml
secrets: inherit
with:
docker_image: ubuntu:20.04
deps: apt-get update -qq && apt-get install -qqy build-essential libssl-dev python3 python3-pip jq wget
osnick: ubuntu20.04

ubuntu-bionic-x86-64:
uses: ./.github/workflows/REUSABLE-linux.yml
secrets: inherit
with:
docker_image: ubuntu:18.04
deps: apt-get update -qq && apt-get install -qqy build-essential libssl-dev python3 python3-pip jq wget
osnick: ubuntu18.04

rhel7-x86-64:
rhel7-x86-64:
uses: ./.github/workflows/REUSABLE-linux.yml
secrets: inherit
with:
docker_image: centos:7
deps: |
yum install -y epel-release
yum install -y epel-release
yum install -y gcc make jemalloc-devel openssl-devel python3 python3-pip jq wget
osnick: rhel7

rhel8-x86-64:
rhel8-x86-64:
uses: ./.github/workflows/REUSABLE-linux.yml
secrets: inherit
with:
docker_image: oraclelinux:8
deps: |
dnf install -y oracle-epel-release-el8
dnf install -y gcc make jemalloc-devel openssl-devel tar git python3 python3-pip jq wget
osnick: rhel8
osnick: rhel8

rhel9-x86-64:
uses: ./.github/workflows/REUSABLE-linux.yml
secrets: inherit
with:
docker_image: rockylinux:9
deps: |
dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm
dnf install -y gcc make jemalloc-devel openssl-devel tar git python3 python3-pip jq wget
osnick: rhel9

0 comments on commit a52528e

Please sign in to comment.