Skip to content

Commit 537c32e

Browse files
authored
Merge branch 'develop' into typing-infinity
2 parents b0d02f2 + 4cdd703 commit 537c32e

File tree

544 files changed

+11670
-4269
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

544 files changed

+11670
-4269
lines changed

.devcontainer/portability-archlinux-latest-minimal/devcontainer.json

Lines changed: 0 additions & 25 deletions
This file was deleted.

.devcontainer/portability-archlinux-latest-minimal/portability-Dockerfile

Lines changed: 0 additions & 1 deletion
This file was deleted.

.devcontainer/portability-archlinux-latest-standard/devcontainer.json

Lines changed: 0 additions & 25 deletions
This file was deleted.

.devcontainer/portability-archlinux-latest-standard/portability-Dockerfile

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
FROM archlinux
2+
RUN pacman -Syu --noconfirm bash git python
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
// See https://aka.ms/devcontainer.json for format details.
2+
{
3+
"name": "archlinux",
4+
//"image": "archlinux",
5+
"dockerFile": "Dockerfile",
6+
"onCreateCommand": ".devcontainer/onCreate-meson.sh || true",
7+
"features": {
8+
// Git feature is not compatible with Arch Linux, so we install it manually in the Dockerfile
9+
// https://github.com/devcontainers/features/issues/824
10+
//"ghcr.io/devcontainers/features/git": {},
11+
//"ghcr.io/devcontainers/features/python:1": {},
12+
"../uv": {
13+
"version": "latest"
14+
}
15+
},
16+
"customizations": {
17+
"vscode": {
18+
"extensions": [
19+
"ms-python.python"
20+
]
21+
}
22+
}
23+
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
FROM ghcr.io/void-linux/void-glibc-full
2+
RUN xbps-install -Suy bash git python
3+
RUN chsh -s /usr/bin/bash
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
// See https://aka.ms/devcontainer.json for format details.
2+
{
3+
"name": "void",
4+
// Doesn't include 'bash', so we use a custom dockerfile
5+
// "image": "ghcr.io/void-linux/void-glibc-full",
6+
"dockerFile": "Dockerfile",
7+
"onCreateCommand": ".devcontainer/onCreate-meson.sh || true",
8+
"features": {
9+
// Git feature is not compatible with Void Linux, so we install it manually in the Dockerfile
10+
// https://github.com/devcontainers/features/issues/824
11+
//"ghcr.io/devcontainers/features/git": {},
12+
//"ghcr.io/devcontainers/features/python:1": {},
13+
"../uv": {
14+
"version": "latest"
15+
}
16+
},
17+
"customizations": {
18+
"vscode": {
19+
"extensions": [
20+
"ms-python.python"
21+
]
22+
}
23+
}
24+
}

.github/workflows/ci-macos.yml

Lines changed: 37 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -21,56 +21,51 @@ on:
2121
pull_request:
2222
paths:
2323
- '.github/workflows/ci-macos.yml'
24-
- '.github/workflows/macos.yml'
2524
push:
2625
tags:
2726
- '*'
2827
workflow_dispatch:
2928
# Allow to run manually
3029

31-
env:
32-
TARGETS_PRE: all-sage-local
33-
TARGETS: build
34-
TARGETS_OPTIONAL: ptest
35-
3630
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() }}
31+
macos:
32+
name: Build and Test (macos-${{ matrix.version }})
33+
runs-on: macos-${{ matrix.version }}
34+
strategy:
35+
fail-fast: false
36+
matrix:
37+
version:
38+
- '13'
39+
- '14'
40+
- '15'
4941

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() }}
42+
steps:
43+
- name: Checkout code
44+
uses: actions/checkout@v4
5645

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() }}
46+
- uses: actions/setup-python@v5
47+
with:
48+
python-version: "3.13"
49+
50+
- name: Install test prerequisites
51+
run: python -m pip install tox
6352

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() }}
53+
- name: Install dependencies
54+
run: |
55+
eval $(build/bin/sage-print-system-package-command homebrew update)
56+
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:)))
7057
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() }}
58+
- name: Build
59+
run: |
60+
source ./.homebrew-build-env
61+
./bootstrap
62+
./configure --enable-download-from-upstream-url
63+
make build V=0
64+
env:
65+
MAKE: 'make -j6'
66+
67+
- name: Test
68+
run: |
69+
source ./.homebrew-build-env # Needed so that runtime cython can find the dependencies
70+
./sage -t --all -p4
71+

.github/workflows/ci-meson.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
tests: 'new'
3737
# one additional editable run in pull_request, this has no effect if not pull_request
3838
- os: 'ubuntu'
39-
python: 3.12
39+
python: '3.12'
4040
editable: true
4141
tests: 'all'
4242
- os: windows
@@ -185,5 +185,5 @@ jobs:
185185
uses: actions/[email protected]
186186
if: failure()
187187
with:
188-
name: ${{ runner.os }}-meson-${{ matrix.python }}${{ matrix.editable && '-editable' || '' }}-log
188+
name: ${{ runner.os }}-meson-${{ matrix.python }}${{ matrix.editable && '-editable' || '' }}${{ matrix.tests == 'new' && '-new' || '' }}-log
189189
path: builddir/meson-logs/

0 commit comments

Comments
 (0)