fix some issues with binaries CI #5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Passenger generic binaries tests CI tests | ||
env: | ||
ENTERPRISE: 0 | ||
on: | ||
push: | ||
branches: [ 'stable-*', 'feature/*' ] | ||
pull_request: | ||
branches: [ 'stable-*', 'feature/*' ] | ||
jobs: | ||
build: | ||
name: "Binary automation ${{ matrix.os.family }}-${{ matrix.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.img }} | ||
env: | ||
WORKSPACE: ${{ github.workspace }} | ||
OUTPUT_DIR: ${{ github.workspace }}/output-${{ matrix.os.family }}-${{ matrix.arch }} | ||
ARCHITECTURE: ${{ matrix.arch }} | ||
CACHE_DIR: ${{ runner.tool_cache }}/cache/${{ matrix.os.family }}-${{ matrix.arch }}/executor-${{ github.run_id }} | ||
Check failure on line 31 in .github/workflows/binaries.yml GitHub Actions / Passenger generic binaries tests CI testsInvalid workflow file
|
||
RUNTIME_DIR: ${{ runner.tool_cache }}/cache/${{ matrix.os.family }}-${{ matrix.arch }}/executor-${{ github.run_id }}/runtime | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
submodules: true | ||
- run: ./dev/ci/tests/binaries/prepare-macos | ||
if: matrix.os.family == 'macos' | ||
- run: ./dev/ci/tests/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/tests/binaries/test-${{ matrix.os.family }} |