Skip to content

Commit d8a89c6

Browse files
authored
Try MacOS and MS Windows CI testing (#3)
Add MacOS CI testing
1 parent c3edf3f commit d8a89c6

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed

.github/workflows/macos.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: Mathics3 Module PyICU (macOS)
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: '**'
8+
9+
jobs:
10+
build:
11+
runs-on: macos-latest
12+
strategy:
13+
matrix:
14+
os: [macOS]
15+
python-version: ['3.12', '3.13']
16+
steps:
17+
- uses: actions/checkout@v4
18+
- name: Set up Python ${{ matrix.python-version }}
19+
uses: actions/setup-python@v5
20+
with:
21+
python-version: ${{ matrix.python-version }}
22+
- name: Set ICU version
23+
run: |
24+
echo "PKG_CONFIG_PATH=$(brew --prefix icu4c)/lib/pkgconfig" >> $GITHUB_ENV
25+
- name: Install dependencies
26+
run: |
27+
brew install llvm
28+
python -m pip install --upgrade pip
29+
python -m pip install pytest
30+
# # Go over and comment out stuff when next Mathics core and Mathics-scanner are released
31+
# python -m pip install -e git+https://github.com/Mathics3/mathics-scanner#egg=Mathics-Scanner[full]
32+
# git clone https://github.com/Mathics3/mathics-core
33+
# (cd mathics-core && pip3 install -e .[full])
34+
# (cd mathics-core && bash ./admin-tools/make-JSON-tables.sh)
35+
# python -m pip install -e git+https://github.com/Mathics3/Mathics3-Module-Base#egg=Mathics3-Module-Base
36+
- name: Install Mathic3 PyICU Module
37+
run: |
38+
python -m pip install Mathics3 PyICU
39+
python -m pip install --no-build-isolation -e .
40+
- name: Test Mathics3 Module PyICU
41+
run: |
42+
make check

0 commit comments

Comments
 (0)