-
Notifications
You must be signed in to change notification settings - Fork 550
44 lines (41 loc) · 1.42 KB
/
binaries.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
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 }}
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 }}