Skip to content

Commit d151ff4

Browse files
committed
try this
1 parent 2081885 commit d151ff4

File tree

2 files changed

+23
-15
lines changed

2 files changed

+23
-15
lines changed

.github/workflows/CI_pyFrame3DD.yml

Lines changed: 23 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -16,42 +16,51 @@ jobs:
1616
fail-fast: false #true
1717
matrix:
1818
os: ["ubuntu-latest", "macOS-latest", "windows-latest"]
19-
python-version: ["3.9", "3.10", "3.11"]
19+
python-version: ["3.9", "3.10", "3.11", "3.12"]
2020

2121
steps:
2222
- name: Setup C/C++ Compiler
23+
if: false == contains( matrix.os, 'windows')
2324
id: install_cc
24-
uses: rlalik/[email protected]
25+
uses: rlalik/setup-cpp-compiler@master
26+
with:
27+
compiler: clang
28+
29+
- name: Install mingw-w64 on Windows
30+
if: contains( matrix.os, 'windows')
31+
uses: msys2/setup-msys2@v2
2532
with:
26-
compiler: gcc #clang
33+
path-type: inherit
34+
install: |
35+
mingw-w64-x86_64-gcc
2736
2837
- name: checkout repository
2938
uses: actions/checkout@v4
3039

40+
- name: Set compilers
41+
if: false == contains( matrix.os, 'windows')
42+
run: |
43+
echo "CC=${{ steps.install_cc.outputs.cc }}" >> $GITHUB_ENV
44+
echo "CXX=${{ steps.install_cc.outputs.cxx }}" >> $GITHUB_ENV
45+
3146
- name: Set up Python ${{ matrix.python-version }}
32-
uses: actions/setup-python@v4
47+
uses: actions/setup-python@v5
3348
id: cp
3449
with:
3550
python-version: ${{ matrix.python-version }}
3651
update-environment: true
37-
38-
- name: Editable Pip Install pyFrame3DD
39-
env:
40-
CC: '${{ steps.install_cc.outputs.cc }}'
41-
CXX: '${{ steps.install_cc.outputs.cxx }}'
52+
53+
- name: Editable Pip Install pyFrame3DD (windows)
4254
run: |
4355
'${{ steps.cp.outputs.python-path }}' -m pip install --upgrade pip
4456
'${{ steps.cp.outputs.python-path }}' -m pip install meson-python meson numpy ninja wheel
4557
'${{ steps.cp.outputs.python-path }}' -m pip install --no-build-isolation -e .[test]
46-
58+
4759
- name: Editable Test run
4860
run: |
4961
'${{ steps.cp.outputs.python-path }}' -m pytest test
5062
5163
- name: Pip Install pyFrame3DD
52-
env:
53-
CC: '${{ steps.install_cc.outputs.cc }}'
54-
CXX: '${{ steps.install_cc.outputs.cxx }}'
5564
run: |
5665
'${{ steps.cp.outputs.python-path }}' -m pip uninstall pyframe3dd
5766
'${{ steps.cp.outputs.python-path }}' -m pip install -v .[test]
@@ -78,7 +87,7 @@ jobs:
7887
fail-fast: false #true
7988
matrix:
8089
os: ["ubuntu-latest", "macOS-latest", "windows-latest"]
81-
python-version: ["3.9", "3.10", "3.11"]
90+
python-version: ["3.9", "3.10", "3.11", "3.12"]
8291

8392
steps:
8493
- name: checkout repository

.github/workflows/Publish_pyFrame3DD.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ jobs:
2929
path-type: inherit
3030
install: |
3131
mingw-w64-x86_64-gcc
32-
mingw-w64-x86_64-gcc-fortran
3332
3433
- name: Checkout
3534
uses: actions/checkout@v4

0 commit comments

Comments
 (0)