Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
76 changes: 7 additions & 69 deletions .github/workflows/flow-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,75 +47,13 @@ jobs:
github-ref: ${{ github.ref }}
beta-version: ${{ inputs.beta-version }}
redis-ref: ${{ inputs.redis-ref }}
build-macos-x64:
runs-on: macos-13
needs: setup-environment
env:
TAGGED: ${{ needs.setup-environment.outputs.TAGGED }}
VERSION: ${{ needs.setup-environment.outputs.TAG }}
BRANCH: ${{ needs.setup-environment.outputs.BRANCH }}
TAG_OR_BRANCH: ${{ needs.setup-environment.outputs.TAG_OR_BRANCH}}
PIP_BREAK_SYSTEM_PACKAGES: 1
defaults:
run:
shell: bash -l -eo pipefail {0}
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: 'recursive'
- name: Deps checkout
uses: actions/checkout@v4
with:
path: setup
sparse-checkout-cone-mode: false
sparse-checkout: |
.install
tests/pytest/requirements.*
- name: Setup specific
working-directory: .install
run: ./install_script.sh
- name: Full checkout
uses: actions/checkout@v4
with:
submodules: recursive
- name: Setup common
run: .install/common_installations.sh
- name: Get Redis
uses: actions/checkout@v4
with:
repository: redis/redis
ref: ${{ needs.setup-environment.outputs.redis-ref }}
path: redis
- name: Build Redis
working-directory: redis
run: make install
- name: Build module
run: |
make build
- name: Test
if: ${{inputs.run-test}}
run: |
make test
- name: Pack module
run: |
if [[ -n "${{ inputs.beta-version }}" ]]; then
# For nightly builds: skip release artifacts, only create snapshots
RELEASE=0 SNAPSHOT=1 BRANCH=$TAG_OR_BRANCH make pack
else
make pack BRANCH=$TAG_OR_BRANCH
fi
- name: Upload artifacts to S3
uses: ./.github/actions/upload-artifacts-to-s3-without-make
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
github-ref: ${{ github.ref }}
beta-version: ${{ inputs.beta-version }}


build-macos-m1:
runs-on: macos-latest-xlarge
build-macos-arm:
name: Build for ${{ matrix.os }} (arm64)
strategy:
fail-fast: false
matrix:
os: [macos-14, macos-15]
runs-on: ${{ matrix.os }}
needs: setup-environment
env:
TAGGED: ${{ needs.setup-environment.outputs.TAGGED }}
Expand Down
Loading