Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
117 changes: 0 additions & 117 deletions .appveyor.yml

This file was deleted.

28 changes: 28 additions & 0 deletions .github/workflows/dependencies/conda_win32.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# This is a Conda environment file.
#
# Activating and installing this environment will provide all dependencies
# that are needed for full-feature development:
# - conda env create --file conda.yml
# - conda activate openpmd-api-dev
#
# If you need more packages in that environment, e.g. jupyter, run:
# - mamba install -y -c conda-forge jupyter jupyterlab dask-labextension
#

name: openpmd-api-win32-dev
channels:
- defaults
dependencies:
- curl
- cmake
- git
- hdf5
- ninja
- numpy
- pandas
- pip
- python>=3.8

# just a note for later hackery, we could install pip packages inside the env, too:
# - pip:
# - "-r requirements.txt"
26 changes: 26 additions & 0 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,3 +77,29 @@ jobs:

# add before install, and fix Python path:
# ctest --test-dir build -C Debug --output-on-failure

build_win_32bit:
name: MSVC 32bit
runs-on: windows-2019
if: github.event.pull_request.draft == false
env:
CMAKE_GENERATOR: "Visual Studio 16 2019"
steps:
- uses: actions/checkout@v4
- uses: conda-incubator/setup-miniconda@v3
name: Setup conda
with:
architecture: "x86"
auto-update-conda: true
activate-environment: openpmd-api-win32-dev
environment-file: .github/workflows/dependencies/conda_win32.yml
channels: defaults
channel-priority: true
- name: Build & Install
run: |
cmake -S . -B build `
-DCMAKE_BUILD_TYPE=Release `
-DopenPMD_USE_MPI=OFF
cmake --build build --config Release --parallel 2
ctest --test-dir build --output-on-failure -C Release
cmake --build build --config Release --target install
1 change: 0 additions & 1 deletion conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ name: openpmd-api-dev
channels:
- conda-forge
dependencies:
- adios=*=mpi_openmpi_*
- adios2=*=mpi_openmpi_*
# - catch2 # shipped internally
- ccache
Expand Down
40 changes: 40 additions & 0 deletions conda_nompi.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# This is a Conda environment file.
#
# Activating and installing this environment will provide all dependencies
# that are needed for full-feature development:
# - conda env create --file conda.yml
# - conda activate openpmd-api-dev
#
# If you need more packages in that environment, e.g. jupyter, run:
# - mamba install -y -c conda-forge jupyter jupyterlab dask-labextension
#

name: openpmd-api-nompi-dev
channels:
- conda-forge
dependencies:
- adios2=*=nompi*
# - catch2 # shipped internally
- ccache
- curl
- cmake
- compilers
- dask
- doxygen
- git
- hdf5=*=nompi*
- mamba
- make
- ninja
- numpy
- pandas
- pkg-config
- pip
- pre-commit
- pyarrow # for dask
# - pybind11 # shipped internally
- python>=3.8

# just a note for later hackery, we could install pip packages inside the env, too:
# - pip:
# - "-r requirements.txt"
Loading