Skip to content

Commit 0699d41

Browse files
committed
Update ci
1 parent a46d42f commit 0699d41

File tree

2 files changed

+7
-25
lines changed

2 files changed

+7
-25
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@ on:
33
push:
44
branches:
55
- '*'
6-
#pull_request:
7-
# branches:
8-
# - '*'
96
jobs:
107
build:
118
name: Build (${{ matrix.python-version }}, ${{ matrix.os }})
@@ -17,26 +14,13 @@ jobs:
1714
python-version: ['3.12']
1815
steps:
1916
- name: "Download"
20-
uses: actions/checkout@v2
21-
- name: "Install miniconda"
22-
uses: conda-incubator/setup-miniconda@v2
17+
uses: actions/checkout@v5
18+
- name: "Install micromamba"
19+
uses: mamba-org/setup-micromamba@v2
2320
with:
24-
auto-update-conda: true
21+
environment: environment.yml
2522
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"
37-
shell: bash -l {0}
38-
run: |
39-
conda install -c trelau -c conda-forge pyocct
23+
- name: "Install declaracad"
4024
python -m pip install -e .
4125
python -m pip install cx-freeze
4226
- name: "Build dist"
@@ -50,7 +34,7 @@ jobs:
5034
run: |
5135
python release.py bdist_msi
5236
- name: "Upload package"
53-
uses: actions/upload-artifact@v2
37+
uses: actions/upload-artifact@v4
5438
with:
5539
name: declaracad-py${{ matrix.python-version }}-${{ matrix.os }}
5640
path: dist/declaracad-*

environment.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,10 @@ name: declaracad
33
channels:
44
- conda-forge
55
- defaults
6-
- https://codelv.com/assets/repo
6+
- https://repo.codelv.com
77

88
dependencies:
99
- python >=3.12
1010
- cxx-compiler
1111
- pybind11
12-
- pysmesh >=9.6
1312
- pyocct >=7.9
14-
- pychrono >=7.0

0 commit comments

Comments
 (0)