Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
b1567d8
Implement Jupyter kernel
Vipul-Cariappa Jul 6, 2024
8eda48b
Test Kernel; presently it only builds, we should add tests later
Vipul-Cariappa Jul 6, 2024
627ba51
fix CI
Vipul-Cariappa Jul 6, 2024
3e85b2f
fix CI
Vipul-Cariappa Jul 6, 2024
217343a
fix CI
Vipul-Cariappa Jul 6, 2024
732b5ed
fix CI
Vipul-Cariappa Jul 6, 2024
66f8fc3
CI fix
Vipul-Cariappa Jul 6, 2024
89ba508
CI: Do not modify other jobs
certik Jul 6, 2024
3a55d86
Hide python_kernel behind ifdef
certik Jul 6, 2024
ec94d15
Keep xeus in ci/environment.yml
certik Jul 6, 2024
16f00af
Use micromamba
certik Jul 6, 2024
506a6be
Add xeus-zmq
certik Jul 6, 2024
8362c91
Disable conda info
certik Jul 6, 2024
91eb84e
CI: update Windows build commands
certik Jul 6, 2024
e6574c4
CI: switch to micromamba, update xeus
certik Jul 6, 2024
eed485e
Use lp
certik Jul 6, 2024
d1e230a
Use the old xeus
certik Jul 6, 2024
34613d7
Use xonsh 0.16.0
certik Jul 6, 2024
0c3b95b
Fix Windows test
certik Jul 6, 2024
d1dc5f0
Use latest version
certik Jul 6, 2024
e73253e
Pin the packages
certik Jul 6, 2024
ae16656
Do not upgrade installed packages
certik Jul 6, 2024
e4fa09a
List
certik Jul 6, 2024
81beb7c
Pin packages
certik Jul 6, 2024
ba8a13c
Fix nlohmann_json
certik Jul 6, 2024
1c77ac5
X
certik Jul 6, 2024
c8a80c3
zstd
certik Jul 6, 2024
2ed3ac2
downgrade
certik Jul 6, 2024
e69e069
Pin zstd, zlib
certik Jul 6, 2024
9ec6d6d
X
certik Jul 6, 2024
de257f5
Merge branch 'main' into ci_mamba
certik Jul 6, 2024
d8ea743
XX comment out failing tests
certik Jul 8, 2024
9c5b8ec
XX disable a failing integration test
certik Jul 8, 2024
766e5a6
Merge branch 'ci_mamba' into ci_kernel
certik Jul 8, 2024
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
Prev Previous commit
Next Next commit
CI: switch to micromamba, update xeus
  • Loading branch information
certik committed Jul 6, 2024
commit e6574c4a9db8a0e4bee5e14a1cc52c865f56b096
46 changes: 22 additions & 24 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,38 +26,36 @@ jobs:
with:
fetch-depth: 0

- name: Cache conda
uses: actions/cache@v3
env:
CACHE_NUMBER: 0
with:
path: ~/conda_pkgs_dir
key:
${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-${{ hashFiles('ci/environment.yml') }}

- uses: conda-incubator/setup-miniconda@v2
# - name: Cache conda
# uses: actions/cache@v3
# env:
# CACHE_NUMBER: 0
# with:
# path: ~/conda_pkgs_dir
# key:
# ${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-${{ hashFiles('ci/environment.yml') }}

- uses: mamba-org/setup-[email protected]
with:
miniconda-version: "latest"
auto-update-conda: true
environment-file: ci/environment.yml
python-version: ${{ matrix.python-version }}
use-only-tar-bz2: true
create-args: >-
python=${{ matrix.python-version }}

- name: Install Windows Conda Packages
if: contains(matrix.os, 'windows')
shell: bash -e -l {0}
run: conda install m2-bison=3.0.4 cmake=3.21.1
run: micromamba install m2-bison=3.0.4 m2-filesystem cmake=3.21.1

- name: Install Linux / macOS Conda Packages
if: contains(matrix.os, 'ubuntu') || contains(matrix.os, 'macos')
shell: bash -e -l {0}
run: conda install bison=3.4 nodejs=18
run: micromamba install bison=3.4 nodejs=18

- name: Conda info
shell: bash -e -l {0}
run: |
conda info
conda list
# - name: Conda info
# shell: bash -e -l {0}
# run: |
# conda info
# conda list

- name: Setup Platform (Linux)
if: contains(matrix.os, 'ubuntu')
Expand Down Expand Up @@ -87,9 +85,9 @@ jobs:
if: contains(matrix.os, 'windows')
shell: cmd
run: |
set CONDA_INSTALL_LOCN=C:\\Miniconda3
call %CONDA_INSTALL_LOCN%\Scripts\activate.bat
call conda activate test
set MAMBA_INSTALL_LOCN=C:\\Users\runneradmin\micromamba
call %MAMBA_INSTALL_LOCN%\Scripts\activate.bat
call micromamba activate test
set LFORTRAN_CMAKE_GENERATOR=Ninja
set WIN=1
set MACOS=0
Expand Down
3 changes: 2 additions & 1 deletion ci/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ dependencies:
- toml
- pytest
- jupyter
- xeus=1.0.1
- xeus=5.1.0
- xeus-zmq=3.0.0
- xtl
- nlohmann_json
- cppzmq
Expand Down