Skip to content

Commit 80877c6

Browse files
committed
add printout
1 parent abb73f8 commit 80877c6

2 files changed

Lines changed: 140 additions & 125 deletions

File tree

.github/workflows/pixi/recipe.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,21 @@ build:
2121
else:
2222
- export HDF5_HL_LOCAL_PATH=__SYS__
2323
- export HDF5_INC_LOCAL_PATH=__SYS__
24+
- if: win
25+
then:
26+
- dir %BUILD_PREFIX%\Include
27+
- dir %BUILD_PREFIX%\include
28+
- dir %BUILD_PREFIX%\Lib\site-packages\numpy\_core\include
29+
- dir "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.44.35207\include"
30+
- dir "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.44.35207\ATLMFC\include"
31+
- dir "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\VS\include"
32+
- dir "C:\Program Files (x86)\Windows Kits\10\include\10.0.26100.0\ucrt"
33+
- dir "C:\Program Files (x86)\Windows Kits\10\\include\10.0.26100.0\\um"
34+
- dir "C:\Program Files (x86)\Windows Kits\10\\include\10.0.26100.0\\shared"
35+
- dir "C:\Program Files (x86)\Windows Kits\10\\include\10.0.26100.0\\winrt"
36+
- dir "C:\Program Files (x86)\Windows Kits\10\\include\10.0.26100.0\\cppwinrt"
37+
- dir "C:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um"
38+
- dir "D:\a\python-pninexus\python-pninexus\.pixi\envs\default\Library\include"
2439
- python setup.py install
2540
- python -m pytest test
2641
- if: win

.github/workflows/tests.yml

Lines changed: 125 additions & 125 deletions
Original file line numberDiff line numberDiff line change
@@ -8,62 +8,62 @@ on:
88

99
jobs:
1010

11-
flake8_tests:
12-
runs-on: ubuntu-latest
13-
steps:
14-
- uses: actions/checkout@v2
15-
- uses: actions/setup-python@v2
16-
with:
17-
python-version: '3.x'
18-
- name: Install flake8
19-
run: pip install flake8
20-
- name: Run flake8
21-
run: flake8 .
22-
23-
linux_tests:
24-
runs-on: ubuntu-latest
25-
container:
26-
image: debian:trixie
27-
steps:
28-
- uses: actions/checkout@v2
29-
- uses: actions/setup-python@v2
30-
31-
- name: install pixi
32-
shell: bash
33-
run: |
34-
apt-get update
35-
apt-get -qq -y dist-upgrade
36-
apt-get -qq update && apt-get install -qq -y flake8 python3 curl bash
37-
curl -fsSL https://pixi.sh/install.sh | sh
38-
export PATH=/github/home/.pixi/bin:$PATH
39-
pixi shell-hook > .sh.sh
40-
source .sh.sh
41-
pixi add rattler-build compilers
42-
- name: build pninexus
43-
shell: bash
44-
run: |
45-
source .sh.sh
46-
pixi run rattler-build build --recipe .github/workflows/pixi/recipe.yaml
47-
48-
macos-15_tests:
49-
runs-on: macos-15
50-
steps:
51-
- uses: actions/checkout@v2
52-
- uses: actions/setup-python@v2
53-
54-
- name: install pixi
55-
shell: bash
56-
run: |
57-
curl -fsSL https://pixi.sh/install.sh | sh
58-
export PATH=/Users/runner/.pixi/bin:$PATH
59-
pixi shell-hook > .sh.sh
60-
source .sh.sh
61-
pixi add rattler-build
62-
- name: build pninexus
63-
shell: bash
64-
run: |
65-
source .sh.sh
66-
pixi run rattler-build build --recipe .github/workflows/pixi/recipe.yaml
11+
# flake8_tests:
12+
# runs-on: ubuntu-latest
13+
# steps:
14+
# - uses: actions/checkout@v2
15+
# - uses: actions/setup-python@v2
16+
# with:
17+
# python-version: '3.x'
18+
# - name: Install flake8
19+
# run: pip install flake8
20+
# - name: Run flake8
21+
# run: flake8 .
22+
23+
# linux_tests:
24+
# runs-on: ubuntu-latest
25+
# container:
26+
# image: debian:trixie
27+
# steps:
28+
# - uses: actions/checkout@v2
29+
# - uses: actions/setup-python@v2
30+
31+
# - name: install pixi
32+
# shell: bash
33+
# run: |
34+
# apt-get update
35+
# apt-get -qq -y dist-upgrade
36+
# apt-get -qq update && apt-get install -qq -y flake8 python3 curl bash
37+
# curl -fsSL https://pixi.sh/install.sh | sh
38+
# export PATH=/github/home/.pixi/bin:$PATH
39+
# pixi shell-hook > .sh.sh
40+
# source .sh.sh
41+
# pixi add rattler-build compilers
42+
# - name: build pninexus
43+
# shell: bash
44+
# run: |
45+
# source .sh.sh
46+
# pixi run rattler-build build --recipe .github/workflows/pixi/recipe.yaml
47+
48+
# macos-15_tests:
49+
# runs-on: macos-15
50+
# steps:
51+
# - uses: actions/checkout@v2
52+
# - uses: actions/setup-python@v2
53+
54+
# - name: install pixi
55+
# shell: bash
56+
# run: |
57+
# curl -fsSL https://pixi.sh/install.sh | sh
58+
# export PATH=/Users/runner/.pixi/bin:$PATH
59+
# pixi shell-hook > .sh.sh
60+
# source .sh.sh
61+
# pixi add rattler-build
62+
# - name: build pninexus
63+
# shell: bash
64+
# run: |
65+
# source .sh.sh
66+
# pixi run rattler-build build --recipe .github/workflows/pixi/recipe.yaml
6767

6868
windows-2025_tests:
6969
runs-on: windows-2025
@@ -78,72 +78,72 @@ jobs:
7878
pixi add rattler-build compilers
7979
pixi run rattler-build build --recipe .github/workflows/pixi/recipe.yaml
8080
81-
deb_tests:
82-
runs-on: ubuntu-latest
83-
strategy:
84-
matrix:
85-
os: [debian13, debian12, debian11, ubuntu25.10, ubuntu24.04, ubuntu22.04]
86-
steps:
87-
- uses: actions/checkout@v2
88-
- uses: actions/setup-python@v2
89-
90-
- name: Build the docker
91-
env:
92-
OS: ${{ matrix.os }}
93-
run: docker build -t ndts .ci/${OS}_py3
94-
95-
- name: Run the docker
96-
run: docker run --name ndts -d -it -v `pwd`:/home/tango ndts
97-
98-
- name: install python-pninexus
99-
run: .ci/install.sh 3
100-
101-
- name: run tests
102-
run: .ci/run.sh 3
103-
104-
- name: Append documentation for the latest release version
105-
if: github.ref == 'refs/heads/develop' && matrix.os == 'debian13'
106-
run: |
107-
docker exec ndts /bin/bash -c "cp doc/index.html doc/_config.yml build"
108-
docker exec ndts /bin/bash -c "git config remote.origin.fetch '+refs/heads/*:refs/remotes/origin/*'"
109-
docker exec ndts /bin/bash -c "git fetch && git checkout gh-pages && git pull"
110-
docker exec ndts /bin/bash -c "mkdir -p ./latest && shopt -u dotglob && rm -rf ./latest/*"
111-
docker exec ndts /bin/bash -c "mv -f build/sphinx/html/* ./latest/"
112-
docker exec ndts /bin/bash -c "mv -f build/index.html build/_config.yml ."
113-
# docker exec ndts /bin/bash -c "mv -f build/devel ./latest/api/doxygen"
114-
docker exec ndts /bin/bash -c "rm -rf ./latest/_sources"
115-
docker exec --user root ndts /bin/bash -c "rm -rf build build_tools *.h5 src test"
116-
117-
- name: Extract the code version from the branch name
118-
if: startsWith(github.ref, 'refs/heads/docs_') && matrix.os == 'debian13'
119-
shell: bash
120-
run: echo "##[set-output name=docver;]$(echo ${GITHUB_REF#refs/heads/docs_})"
121-
id: extract_docver
122-
123-
- name: Append documentation for the extracted release version
124-
if: startsWith(github.ref, 'refs/heads/docs_') && matrix.os == 'debian13'
125-
run: |
126-
echo Version: ${{ steps.extract_docver.outputs.docver }}
127-
docker exec ndts /bin/bash -c "git config remote.origin.fetch '+refs/heads/*:refs/remotes/origin/*'"
128-
docker exec ndts /bin/bash -c "git fetch && git checkout gh-pages && git pull"
129-
docker exec ndts /bin/bash -c "mkdir -p ./${{ steps.extract_docver.outputs.docver }}"
130-
docker exec ndts /bin/bash -c "shopt -u dotglob && rm -rf ./${{ steps.extract_docver.outputs.docver }}/* "
131-
docker exec ndts /bin/bash -c "mv -f build/sphinx/html/* ./${{ steps.extract_docver.outputs.docver }}/"
132-
# docker exec ndts /bin/bash -c "mv -f build/devel ./${{ steps.extract_docver.outputs.docver }}/api/doxygen"
133-
docker exec ndts /bin/bash -c "rm -rf ./${{ steps.extract_docver.outputs.docver }}/_sources"
134-
docker exec --user root ndts /bin/bash -c "rm -rf build build_tools *.h5 src test"
135-
136-
- name: Deploy documentation
137-
if: (github.ref == 'refs/heads/develop' || startsWith(github.ref, 'refs/heads/docs_')) && matrix.os == 'debian13'
138-
uses: s0/git-publish-subdir-action@develop
139-
env:
140-
REPO: self
141-
BRANCH: gh-pages
142-
FOLDER: .
143-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
144-
MESSAGE: "Build: ({sha}) {msg}"
145-
146-
- name: Stop the docker
147-
run: |
148-
docker exec --user root ndts /bin/bash -c "chown -R 1001 /home/tango "
149-
docker container stop ndts
81+
# deb_tests:
82+
# runs-on: ubuntu-latest
83+
# strategy:
84+
# matrix:
85+
# os: [debian13, debian12, debian11, ubuntu25.10, ubuntu24.04, ubuntu22.04]
86+
# steps:
87+
# - uses: actions/checkout@v2
88+
# - uses: actions/setup-python@v2
89+
90+
# - name: Build the docker
91+
# env:
92+
# OS: ${{ matrix.os }}
93+
# run: docker build -t ndts .ci/${OS}_py3
94+
95+
# - name: Run the docker
96+
# run: docker run --name ndts -d -it -v `pwd`:/home/tango ndts
97+
98+
# - name: install python-pninexus
99+
# run: .ci/install.sh 3
100+
101+
# - name: run tests
102+
# run: .ci/run.sh 3
103+
104+
# - name: Append documentation for the latest release version
105+
# if: github.ref == 'refs/heads/develop' && matrix.os == 'debian13'
106+
# run: |
107+
# docker exec ndts /bin/bash -c "cp doc/index.html doc/_config.yml build"
108+
# docker exec ndts /bin/bash -c "git config remote.origin.fetch '+refs/heads/*:refs/remotes/origin/*'"
109+
# docker exec ndts /bin/bash -c "git fetch && git checkout gh-pages && git pull"
110+
# docker exec ndts /bin/bash -c "mkdir -p ./latest && shopt -u dotglob && rm -rf ./latest/*"
111+
# docker exec ndts /bin/bash -c "mv -f build/sphinx/html/* ./latest/"
112+
# docker exec ndts /bin/bash -c "mv -f build/index.html build/_config.yml ."
113+
# # docker exec ndts /bin/bash -c "mv -f build/devel ./latest/api/doxygen"
114+
# docker exec ndts /bin/bash -c "rm -rf ./latest/_sources"
115+
# docker exec --user root ndts /bin/bash -c "rm -rf build build_tools *.h5 src test"
116+
117+
# - name: Extract the code version from the branch name
118+
# if: startsWith(github.ref, 'refs/heads/docs_') && matrix.os == 'debian13'
119+
# shell: bash
120+
# run: echo "##[set-output name=docver;]$(echo ${GITHUB_REF#refs/heads/docs_})"
121+
# id: extract_docver
122+
123+
# - name: Append documentation for the extracted release version
124+
# if: startsWith(github.ref, 'refs/heads/docs_') && matrix.os == 'debian13'
125+
# run: |
126+
# echo Version: ${{ steps.extract_docver.outputs.docver }}
127+
# docker exec ndts /bin/bash -c "git config remote.origin.fetch '+refs/heads/*:refs/remotes/origin/*'"
128+
# docker exec ndts /bin/bash -c "git fetch && git checkout gh-pages && git pull"
129+
# docker exec ndts /bin/bash -c "mkdir -p ./${{ steps.extract_docver.outputs.docver }}"
130+
# docker exec ndts /bin/bash -c "shopt -u dotglob && rm -rf ./${{ steps.extract_docver.outputs.docver }}/* "
131+
# docker exec ndts /bin/bash -c "mv -f build/sphinx/html/* ./${{ steps.extract_docver.outputs.docver }}/"
132+
# # docker exec ndts /bin/bash -c "mv -f build/devel ./${{ steps.extract_docver.outputs.docver }}/api/doxygen"
133+
# docker exec ndts /bin/bash -c "rm -rf ./${{ steps.extract_docver.outputs.docver }}/_sources"
134+
# docker exec --user root ndts /bin/bash -c "rm -rf build build_tools *.h5 src test"
135+
136+
# - name: Deploy documentation
137+
# if: (github.ref == 'refs/heads/develop' || startsWith(github.ref, 'refs/heads/docs_')) && matrix.os == 'debian13'
138+
# uses: s0/git-publish-subdir-action@develop
139+
# env:
140+
# REPO: self
141+
# BRANCH: gh-pages
142+
# FOLDER: .
143+
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
144+
# MESSAGE: "Build: ({sha}) {msg}"
145+
146+
# - name: Stop the docker
147+
# run: |
148+
# docker exec --user root ndts /bin/bash -c "chown -R 1001 /home/tango "
149+
# docker container stop ndts

0 commit comments

Comments
 (0)