Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mborsetti authored May 25, 2024
1 parent 934e37c commit bbb7fcb
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:

env:
SOURCE_TAR: https://confluence.ecmwf.int/download/attachments/45757960/eccodes-2.35.0-Source.tar.gz?api=v2
SOURCE_DIR: eccodes-2.35.0-Source

steps:
- name: Set up Git
Expand All @@ -35,8 +36,7 @@ jobs:

- name: Download and extract source # pipe it to tar
run: |
mkdir -p %RUNNER_TEMP%\Source
curl %SOURCE_TAR% | tar xz -f - -C %RUNNER_TEMP%\Source
curl %SOURCE_TAR% | tar xz -f - -C %RUNNER_TEMP%
shell: cmd
# curl -o sources.tar.gz $env:SOURCE_TAR
# 7z x -tgzip -so sources.tar.gz | 7z x -si -ttar
Expand All @@ -46,8 +46,7 @@ jobs:

- name: Install cmake and other dependencies
run: |
conda install libpng openjpeg
conda install -c conda-forge libzlib
conda install -c conda-forge libzlib libpng openjpeg
# conda install -c conda-forge cmake

- name: Set up Visual Studio
Expand All @@ -59,7 +58,7 @@ jobs:
run: |
echo Visual Studio %VSCMD_VER%
echo %PATH%
cd %RUNNER_TEMP%\Source
cd %RUNNER_TEMP%\%SOURCE_DIR%
dir
mkdir BUILD
cd BUILD
Expand Down

0 comments on commit bbb7fcb

Please sign in to comment.