File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change @@ -870,6 +870,35 @@ jobs:
870
870
if : true && !contains(github.event.inputs.skiptests, 'cluster')
871
871
run : ./runtest-cluster ${{github.event.inputs.cluster_test_args}}
872
872
873
+ build-macos :
874
+ strategy :
875
+ matrix :
876
+ os : [macos-11, macos-13]
877
+ runs-on : ${{ matrix.os }}
878
+ if : |
879
+ (github.event_name == 'workflow_dispatch' || (github.event_name != 'workflow_dispatch' && github.repository == 'redis/redis')) &&
880
+ !contains(github.event.inputs.skipjobs, 'macos')
881
+ timeout-minutes : 14400
882
+ steps :
883
+ - uses : maxim-lobanov/setup-xcode@v1
884
+ with :
885
+ xcode-version : latest
886
+ - name : prep
887
+ if : github.event_name == 'workflow_dispatch'
888
+ run : |
889
+ echo "GITHUB_REPOSITORY=${{github.event.inputs.use_repo}}" >> $GITHUB_ENV
890
+ echo "GITHUB_HEAD_REF=${{github.event.inputs.use_git_ref}}" >> $GITHUB_ENV
891
+ echo "skipjobs: ${{github.event.inputs.skipjobs}}"
892
+ echo "skiptests: ${{github.event.inputs.skiptests}}"
893
+ echo "test_args: ${{github.event.inputs.test_args}}"
894
+ echo "cluster_test_args: ${{github.event.inputs.cluster_test_args}}"
895
+ - uses : actions/checkout@v3
896
+ with :
897
+ repository : ${{ env.GITHUB_REPOSITORY }}
898
+ ref : ${{ env.GITHUB_HEAD_REF }}
899
+ - name : make
900
+ run : make REDIS_CFLAGS='-Werror -DREDIS_TEST'
901
+
873
902
test-freebsd :
874
903
runs-on : macos-12
875
904
if : |
You can’t perform that action at this time.
0 commit comments