From 7f2304c6683db56e8e4972bf9a9c20afebfcb430 Mon Sep 17 00:00:00 2001 From: Camden Narzt Date: Mon, 26 Aug 2024 14:22:41 -0600 Subject: [PATCH] initial binary automation CI impl --- .github/workflows/binaries.yml | 38 ++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 .github/workflows/binaries.yml diff --git a/.github/workflows/binaries.yml b/.github/workflows/binaries.yml new file mode 100644 index 0000000000..8c28dfc0da --- /dev/null +++ b/.github/workflows/binaries.yml @@ -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 }}