Set-up develop branch #6
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: Windows | |
on: | |
push: | |
branches: [ "main", "develop" ] | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: "windows-2022" | |
defaults: | |
run: | |
shell: bash -l {0} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: conda-incubator/setup-miniconda@v3 | |
with: | |
miniforge-version: latest | |
auto-update-conda: true | |
conda-solver: "libmamba" | |
python-version: 3.12 | |
- name: setup platform | |
run: | | |
conda env create --file=environment/configuration/conda_environment.yml | |
conda activate lue_tutorial | |
python -c 'import lue; print(f"lue: {lue.__version__} ({lue.git_short_sha1})")' | |
- name: game_of_life | |
run: | | |
conda activate lue_tutorial | |
cd use_case/game_of_life | |
python game_of_life.py 5000 1000 10 generation | |
ls -l *.tif | |
- name: usle | |
run: | | |
conda activate lue_tutorial | |
cd use_case/usle | |
curl --remote-name --silent https://lue.computationalgeography.org/download/lue_qa/elevation.tif | |
python usle.py 1000 elevation.tif usle.tif | |
ls -l *.tif |