-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add pixi * update pixi * don't specify versions * pixi add basic test * use pixi in github action * pixi add flake8 dependency * pixi: use clang for windows
- Loading branch information
Showing
5 changed files
with
8,476 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,29 +14,14 @@ jobs: | |
fail-fast: false | ||
matrix: | ||
os: [windows-latest, ubuntu-latest, macos-latest] | ||
python-version: ["3.10", "3.11", "3.12"] | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
name: Checkout | ||
|
||
- uses: conda-incubator/setup-miniconda@v2 | ||
- uses: prefix-dev/setup-[email protected] | ||
with: | ||
python-version: "3.11" | ||
|
||
- name: install conda build | ||
run: | | ||
conda install conda-build | ||
- if: matrix.os == 'ubuntu-latest' | ||
name: Lint with flake8 | ||
run: | | ||
conda install flake8 | ||
sudo apt-get install freeglut3 freeglut3-dev | ||
sudo ln -s /usr/lib/x86_64-linux-gnu/ /usr/lib64 | ||
${CONDA}/bin/flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics --exclude=.svn,CVS,.bzr,.hg,.git,__pycache__,.tox,.eggs,*.egg,scons,SoPyScript | ||
- name: create package with conda | ||
run: | | ||
cd packaging; | ||
conda build . -c conda-forge --python=${{ matrix.python-version }} | ||
pixi-version: v0.30.0 | ||
cache: true | ||
- run: pixi run lint | ||
- run: pixi run test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.