Skip to content
This repository has been archived by the owner on Mar 14, 2024. It is now read-only.

Commit

Permalink
Build for Linux in CentOS7 container
Browse files Browse the repository at this point in the history
  • Loading branch information
kevincon committed Jan 22, 2023
1 parent bff0d01 commit a6bf41a
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions .github/workflows/pkg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,25 @@ on:
required: true
type: string
jobs:
gpg:
pkg:
name: Build
runs-on: ${{ matrix.os }}
container: ${{ matrix.container }}
strategy:
matrix:
os: [ubuntu-18.04, macos-12]
include:
- os: ubuntu-18.04
# To ensure binaries built are compatible with Block's Kochiku worker environment
container: centos:centos7
- os: macos-12
steps:
- name: Install required dependencies on CentOS
if: startsWith(matrix.container, 'centos')
# Endpoint repo is required to get recent version of git so checkout action will checkout code
# as a local git repo instead of falling back to downloading the repo's files using the GitHub REST API
run: |
yum install --assumeyes https://packages.endpointdev.com/rhel/7/os/x86_64/endpoint-repo.x86_64.rpm
yum install --assumeyes git gcc
- name: Checkout code
uses: actions/checkout@v2
- name: Init Hermit
Expand Down

0 comments on commit a6bf41a

Please sign in to comment.