Skip to content

Commit

Permalink
initial binary automation CI impl
Browse files Browse the repository at this point in the history
  • Loading branch information
CamJN committed Aug 26, 2024
1 parent ab55d5e commit 7f2304c
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/binaries.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Passenger CI tests

env:
ENTERPRISE: 0

on:
push:
branches: [ 'stable-*', 'feature/*' ]
pull_request:
branches: [ 'stable-*', 'feature/*' ]

jobs:
build:
name: "Binary automation ${{ matrix.os.family }}-${{ matrix.os.arch }}"
strategy:
fail-fast: false
matrix:
os:
- img: macos-latest
family: macos
- img: ubuntu-latest
family: linux
arch:
- x86_64
- aarch64
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
with:
submodules: true
- run: ./dev/ci/binaries/prepare-macos
if: matrix.os.family == 'macos'
- run: ./dev/ci/binaries/build-${{ matrix.os.family }}
- uses: actions/upload-artifact@v4
with:
name: binaries-${{ matrix.os.family }}-${{ matrix.arch }}
path: 'output-${{ matrix.os.family }}-${{ matrix.arch }}/**/*'
- run: ./dev/ci/binaries/test-${{ matrix.os.family }}

0 comments on commit 7f2304c

Please sign in to comment.