Skip to content
Merged
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
28 changes: 23 additions & 5 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,33 @@ jobs:
os: ["ubuntu-latest", "macos-latest", "windows-latest"]
python-version: ["3.10"]
steps:
- uses: actions/checkout@v2

- uses: conda-incubator/setup-miniconda@v2
with:
auto-update-conda: true
environment-file: ci/environment.yml
python-version: ${{ matrix.python-version }}
auto-activate-base: false

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

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

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

- name: Build and test
run: xonsh ci/build.xsh
shell: bash -l {0}
run: |
echo $CONDA_PREFIX
xonsh ci/build.xsh
18 changes: 18 additions & 0 deletions ci/environment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: lp
channels:
- conda-forge
- defaults
dependencies:
- llvmdev=11.1.0
- toml
- pytest
- jupyter
- xeus=1.0.1
- xtl
- nlohmann_json
- cppzmq
- jupyter_kernel_test
- xonsh
- re2c
# - bison=3.4 [not win]
# - m2-bison=3.4 [win]