21
21
pull_request :
22
22
paths :
23
23
- ' .github/workflows/ci-macos.yml'
24
- - ' .github/workflows/macos.yml'
25
24
push :
26
25
tags :
27
26
- ' *'
28
27
workflow_dispatch :
29
28
# Allow to run manually
30
29
31
- env :
32
- TARGETS_PRE : all-sage-local
33
- TARGETS : build
34
- TARGETS_OPTIONAL : ptest
35
-
36
30
jobs :
37
- stage-1 :
38
- uses : ./.github/workflows/macos.yml
39
- with :
40
- stage : " 1"
41
- timeout : 14400
42
-
43
- stage-2 :
44
- uses : ./.github/workflows/macos.yml
45
- with :
46
- stage : " 2"
47
- needs : [stage-1]
48
- if : ${{ success() || failure() }}
49
-
50
- stage-2-optional-0-o :
51
- uses : ./.github/workflows/macos.yml
52
- with :
53
- stage : " 2-optional-0-o"
54
- needs : [stage-2]
55
- if : ${{ success() || failure() }}
56
-
57
- stage-2-optional-p-z :
58
- uses : ./.github/workflows/macos.yml
59
- with :
60
- stage : " 2-optional-p-z"
61
- needs : [stage-2-optional-0-o]
62
- if : ${{ success() || failure() }}
63
-
64
- stage-2-experimental-0-o :
65
- uses : ./.github/workflows/macos.yml
66
- with :
67
- stage : " 2-experimental-0-o"
68
- needs : [stage-2-optional-p-z]
69
- if : ${{ success() || failure() }}
70
-
71
- stage-2-experimental-p-z :
72
- uses : ./.github/workflows/macos.yml
73
- with :
74
- stage : " 2-experimental-p-z"
75
- needs : [stage-2-experimental-0-o]
76
- if : ${{ success() || failure() }}
31
+ macos :
32
+ name : Build and Test (macos)
33
+ runs-on : macos-latest
34
+
35
+ steps :
36
+ - name : Checkout code
37
+ uses : actions/checkout@v4
38
+
39
+ - uses : actions/setup-python@v5
40
+ with :
41
+ python-version : " 3.13"
42
+
43
+ - name : Install test prerequisites
44
+ run : python -m pip install tox
45
+
46
+ - name : Install dependencies
47
+ run : |
48
+ eval $(build/bin/sage-print-system-package-command homebrew update)
49
+ eval $(build/bin/sage-print-system-package-command homebrew --yes --ignore-missing install $(build/bin/sage-get-system-packages homebrew $(build/bin/sage-package list :standard:)))
50
+
51
+ - name : Build
52
+ run : |
53
+ ./bootstrap
54
+ ./configure --enable-download-from-upstream-url
55
+ make build V=0
56
+
57
+ - name : Test
58
+ run : ./sage -t --all -p4
59
+
0 commit comments