Skip to content

Commit bfacc68

Browse files
committed
Update CI
1 parent 89f1928 commit bfacc68

File tree

2 files changed

+10
-74
lines changed

2 files changed

+10
-74
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ on:
88
branches: [ main ]
99

1010
jobs:
11-
1211
build:
1312
strategy:
1413
matrix:
@@ -29,27 +28,12 @@ jobs:
2928
steps:
3029
- name: Checkout repository
3130
uses: actions/checkout@v4
32-
- name: Setup Python
33-
uses: actions/setup-python@v5
34-
with:
35-
python-version: '3.x'
36-
- name: Query Python executable
37-
run: which python
38-
- name: Install dependencies
39-
run: python -m pip install h5py matplotlib numpy pytest scipy setuptools wheel
40-
- name: Build Python Wheel
41-
run: python setup.py bdist_wheel
42-
- name: Install Python Wheel
43-
shell: bash
31+
- name: Build NDTable
4432
run: |
45-
for f in dist/SDF-*-py3-none-any.whl; do
46-
python -m pip install $f --no-deps -vv
47-
done
48-
- name: Run Python tests
49-
run: pytest tests
50-
- name: Upload artifacts
51-
uses: actions/upload-artifact@v4
33+
cmake -S C -B C/${{ matrix.name }}
34+
cmake --build C/${{ matrix.name }} --target install
35+
- uses: actions/upload-artifact@v4
5236
with:
5337
name: ${{ matrix.name }}
54-
path: dist/*.whl
38+
path: src/sdf/ndtable/${{ matrix.name }}
5539
if-no-files-found: error

.gitignore

Lines changed: 5 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -1,61 +1,13 @@
11
# SDF files
22
*.sdf
33

4-
# Build artefacts
5-
*.o
6-
74
# PyCharm projects
85
.idea/
96

10-
# compiled code
11-
*.py[cod]
12-
13-
# Packages
14-
*.egg
15-
*.egg-info
16-
dist
17-
build
18-
eggs
19-
parts
20-
bin
21-
var
22-
sdist
23-
develop-eggs
24-
.installed.cfg
25-
lib
26-
lib64
7+
# Python artifacts
278
__pycache__
289

29-
# Installer logs
30-
pip-log.txt
31-
32-
# Unit test / coverage reports
33-
.coverage
34-
.tox
35-
nosetests.xml
36-
37-
# Translations
38-
*.mo
39-
40-
# data files
41-
*.h5
42-
*.mat
43-
!DoublePendulum.mat
44-
45-
# temp files
46-
~*
47-
48-
# Eclipse user settings
49-
.settings/
50-
51-
# PDFs
52-
*.pdf
53-
54-
# auto generated manifest
55-
MANIFEST
56-
57-
# automation scripts
58-
# *.bat
59-
60-
# test file
61-
!IntegerNetwork1.mat
10+
# build artifacts
11+
C/aarch64-*/
12+
C/x86-*/
13+
C/x86_64-*/

0 commit comments

Comments
 (0)