33 push :
44 branches :
55 - ' *'
6- # pull_request:
7- # branches:
8- # - '*'
96jobs :
107 build :
118 name : Build (${{ matrix.python-version }}, ${{ matrix.os }})
@@ -14,29 +11,17 @@ jobs:
1411 fail-fast : false
1512 matrix :
1613 os : ['ubuntu-latest', 'windows-latest']
17- python-version : ['3.12']
1814 steps :
1915 - name : " Download"
20- uses : actions/checkout@v2
21- - name : " Install miniconda "
22- uses : conda-incubator /setup-miniconda @v2
16+ uses : actions/checkout@v5
17+ - name : " Create environment "
18+ uses : mamba-org /setup-micromamba @v2
2319 with :
24- auto-update-conda : true
25- python-version : ${{ matrix.python-version }}
26- - name : " Configure conda"
27- run : |
28- conda info
29- conda config --add channels conda-forge
30- conda install nomkl
31- - name : " Install compiler"
32- if : ${{ matrix.os == 'ubuntu-latest' }}
33- shell : bash -l {0}
34- run : |
35- conda install gxx_linux-64
36- - name : " Install"
20+ environment-file : environment.yml
21+ cache-environment : true
22+ - name : " Install declaracad"
3723 shell : bash -l {0}
3824 run : |
39- conda install -c trelau -c conda-forge pyocct
4025 python -m pip install -e .
4126 python -m pip install cx-freeze
4227 - name : " Build dist"
5035 run : |
5136 python release.py bdist_msi
5237 - name : " Upload package"
53- uses : actions/upload-artifact@v2
38+ uses : actions/upload-artifact@v4
5439 with :
5540 name : declaracad-py${{ matrix.python-version }}-${{ matrix.os }}
5641 path : dist/declaracad-*
0 commit comments