-
Notifications
You must be signed in to change notification settings - Fork 9
47 lines (45 loc) · 1.46 KB
/
macos.yaml
File metadata and controls
47 lines (45 loc) · 1.46 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
name: mathicsscript (MacOS)
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: macos-latest
strategy:
matrix:
os: [macOS]
python-version: ['3.12', '3.13', '3.14']
steps:
- uses: actions/checkout@v6
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
brew install asymptote
python3 -m pip install --upgrade pip
python3 -m pip install setuptools
# We can comment out after next Mathics3-Scanner release
git clone --depth 1 https://github.com/Mathics3/Mathics3-scanner.git
cd Mathics3-scanner/
pip install --no-build-isolation -e .
bash -x admin-tools/make-JSON-tables.sh
cd ..
# We can comment out after next Mathics3-pygments release
python -m pip install -e git+https://github.com/Mathics3/Mathics3-pygments#egg=Mathics3-pygments
# We can comment out after next mathics-core release
git clone --depth 1 https://github.com/Mathics3/mathics-core.git
cd mathics-core/
pip install --no-build-isolation -e .
bash -x admin-tools/make-JSON-tables.sh
cd ..
- name: Install mathicsscript
run: |
make
- name: Test mathicsscript
run: |
pip3 install -r requirements-dev.txt
make check