Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
garth-wells committed Jul 18, 2024
1 parent 4a3e889 commit 7a06f15
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 15 deletions.
20 changes: 14 additions & 6 deletions .github/workflows/conda-env-oneapi.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,18 @@
name: idp
name: anaconda-client-env
channels:
- https://software.repos.intel.com/python/conda/
- conda-forge
- defaults
dependencies:
- intelpython3_core
- python=3.10
- dpcpp_linux-64
- impi-devel
- anaconda-client
- pip

# name: idp
# channels:
# - https://software.repos.intel.com/python/conda/
# - conda-forge
# - defaults
# dependencies:
# - intelpython3_core
# - python=3.10
# - dpcpp_linux-64
# - impi-devel
34 changes: 25 additions & 9 deletions .github/workflows/oneapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,24 +33,40 @@ jobs:

# name: oneAPI build and test (${{ matrix.petsc_arch }})

defaults:
run:
shell: bash -el {0}

steps:
- uses: actions/checkout@v4
- uses: conda-incubator/setup-miniconda@v3
with:
activate-environment: idp
# python-version: 3.10
channels: https://software.repos.intel.com/python/conda/,conda-forge
activate-environment: anaconda-client-env
environment-file: .github/workflows/conda-env-oneapi.yml
# allow-softlinks: true
# channel-priority: flexible
# show-channel-urls: true
# use-only-tar-bz2: true
# environment-file: etc/example-environment.yml
python-version: 3.5
# condarc-file: etc/example-condarc.yml
auto-activate-base: false
- run: |
conda info
conda list
conda config --show-sources
conda config --show
# - uses: conda-incubator/setup-miniconda@v3
# with:
# activate-environment: idp
# # python-version: 3.10
# channels: https://software.repos.intel.com/python/conda/,conda-forge
# environment-file: .github/workflows/conda-env-oneapi.yml
# # allow-softlinks: true
# # channel-priority: flexible
# # show-channel-urls: true
# # use-only-tar-bz2: true
# auto-activate-base: false
# - run: |
# conda info
# conda list
# # conda config --show-sources
# # conda config --show

# - name: Install Python dependencies
# run: |
Expand Down

0 comments on commit 7a06f15

Please sign in to comment.