File tree Expand file tree Collapse file tree 3 files changed +42
-80
lines changed Expand file tree Collapse file tree 3 files changed +42
-80
lines changed Original file line number Diff line number Diff line change 11name : CI (Distro)
22
3- # # This GitHub Actions workflow builds and tests sage with selected environments,
3+ # # This GitHub Actions workflow builds and tests sage-the-distro on various platforms
44# # whenever a tag is pushed or a pull request changes relevant build files.
55# #
66# # It builds and checks some sage spkgs as defined in TARGETS.
@@ -46,7 +46,7 @@ concurrency:
4646 cancel-in-progress : true
4747
4848jobs :
49- minimal :
49+ linux- minimal :
5050 if : ${{ success() || failure() }}
5151 uses : ./.github/workflows/docker.yml
5252 with :
6363 ["minimal"]
6464 docker_push_repository : ghcr.io/${{ github.repository }}/
6565
66- standard :
66+ linux :
6767 uses : ./.github/workflows/docker.yml
6868 with :
6969 free_disk_space : true
7575 tox_packages_factors : >-
7676 ["standard"]
7777 docker_push_repository : ghcr.io/${{ github.repository }}/
78+
79+ macos :
80+ name : Build and Test (macos-${{ matrix.version }})
81+ runs-on : macos-${{ matrix.version }}
82+ strategy :
83+ fail-fast : false
84+ matrix :
85+ version :
86+ - ' 13'
87+ - ' 14'
88+ - ' 15'
89+
90+ steps :
91+ - name : Checkout code
92+ uses : actions/checkout@v4
93+
94+ - uses : actions/setup-python@v5
95+ with :
96+ python-version : " 3.13"
97+
98+ - name : Install dependencies
99+ run : |
100+ eval $(build/bin/sage-print-system-package-command homebrew update)
101+ eval $(build/bin/sage-print-system-package-command homebrew --yes --ignore-missing install $(build/bin/sage-get-system-packages homebrew _bootstrap _prereq $(build/bin/sage-package list :standard:)))
102+
103+ - name : Build
104+ run : |
105+ source ./.homebrew-build-env
106+ ./bootstrap
107+ ./configure --enable-download-from-upstream-url
108+ make build V=0
109+ env :
110+ MAKE : ' make -j6'
111+
112+ - name : Test
113+ run : |
114+ source ./.homebrew-build-env # Needed so that runtime cython can find the dependencies
115+ ./sage -t --all -p4
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -1001,12 +1001,7 @@ GitHub Actions are enabled.
10011001In particular, it automatically runs on our main repository sagemath/sage
10021002on every release tag.
10031003
1004- This is defined in the files
1005-
1006- - :sage_root: `.github/workflows/ci-distro.yml `
1007- (which calls :sage_root: `.github/workflows/docker.yml `) and
1008-
1009- - :sage_root: `.github/workflows/ci-macos.yml `.
1004+ This is defined in the file :sage_root: `.github/workflows/ci-distro.yml `.
10101005
10111006GitHub Actions runs these build jobs on 2-core machines with 7 GB of
10121007RAM memory and 14 GB of SSD disk space, cf.
You can’t perform that action at this time.
0 commit comments