Add cxx-compiler on Linux and m2w64-gcc on Windows #118
Workflow file for this run
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
name: CI Pixi | |
on: | |
- push | |
- pull_request | |
jobs: | |
tests: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: ["windows-2022", "macos-latest"] | |
# environment: [py310, py311, py312, py313] | |
defaults: | |
run: | |
shell: bash -l {0} | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: prefix-dev/setup-pixi@v0.8.1 | |
with: | |
pixi-version: v0.26.1 | |
cache: false | |
# environments: ${{ matrix.environment }} | |
- name: Install | |
run: | | |
pixi run install-editable | |
pixi run pip install plugins/fluidfft-fftw -v --no-build-isolation --no-deps | |
pixi run python -c "import fluidfft_fftw.fft2d as m; print(m)" | |
ls .pixi/envs/default/Lib/site-packages/fluidfft_fftw/fft2d | |
pixi run python -c "import fluidfft_fftw.fft2d.with_fftw1d" | |
pixi run python -c "import fluidfft_fftw.fft2d.with_fftw2d" | |
pixi run python -c "import fluidfft_fftw.fft3d.with_fftw3d" | |
- name: Tests | |
run: | | |
pixi run pytest -v -s tests | |
pixi run pytest -v -s plugins/fluidfft-fftw |