Skip to content

Commit

Permalink
nc35
Browse files Browse the repository at this point in the history
  • Loading branch information
mjreno authored and mjreno committed Sep 11, 2023
1 parent eb8f136 commit f74c3ea
Showing 1 changed file with 17 additions and 9 deletions.
26 changes: 17 additions & 9 deletions .github/workflows/ci2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,9 @@ jobs:
- name: Make netcdf-c
shell: msys2 {0}
run: |
cd $HOME
#cd $HOME
mkdir ncc
cd ncc
wget https://github.com/Unidata/netcdf-c/archive/refs/tags/v4.9.0.zip
unzip v4.9.0.zip
cd $HOME/netcdf-c-4.9.0
Expand All @@ -86,7 +88,9 @@ jobs:
- name: Make netcdf-f
shell: msys2 {0}
run: |
cd $HOME
#cd $HOME
mkdir ncf
cd ncf
wget https://github.com/Unidata/netcdf-fortran/archive/refs/tags/v4.6.0.zip
unzip v4.6.0.zip
cd $HOME/netcdf-fortran-4.6.0
Expand All @@ -113,22 +117,26 @@ jobs:
run: |
#find /D/ | grep -i netcdf
#find /C/ | grep -i netcdf
/D/a/_temp/msys64/home/runneradmin/netcdf-fortran-4.6.0/nf-config --all
/D/a/_temp/msys64/home/runneradmin/netcdf-c-4.9.0/nc-config --all
find .. | grep pc$
which nf-config
which nc-config
#/D/a/_temp/msys64/home/runneradmin/netcdf-fortran-4.6.0/nf-config --all
#/D/a/_temp/msys64/home/runneradmin/netcdf-c-4.9.0/nc-config --all
nf-config --all
nc-config --all
nc-config --libdir
#export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:"$(nc-config --libdir)"
echo "0:"
echo $GITHUB_WORKSPACE
echo "1:"
ls -l $GITHUB_WORKSPACE\mingw64\lib
ls -l $GITHUB_WORKSPACE\mingw64\lib\pkgconfig
#ls -l $GITHUB_WORKSPACE\mingw64\lib
#ls -l $GITHUB_WORKSPACE\mingw64\lib\pkgconfig
echo "2:"
ls -l /D/a/_temp/msys64/mingw64/lib/pkgconfig/netcdf-fortran.pc
cat /D/a/_temp/msys64/mingw64/lib/pkgconfig/netcdf-fortran.pc
#ls -l /D/a/_temp/msys64/mingw64/lib/pkgconfig/netcdf-fortran.pc
#cat /D/a/_temp/msys64/mingw64/lib/pkgconfig/netcdf-fortran.pc
#echo "PKG_CONFIG_PATH=$GITHUB_WORKSPACE/mingw64/lib/pkgconfig" >> $GITHUB_ENV
#echo "PKG_CONFIG_PATH=/D/a/_temp/msys64/mingw64/lib/pkgconfig" >> $GITHUB_ENV
echo "PKG_CONFIG_PATH=D:\a\_temp\msys64\mingw64\lib\pkgconfig" >> $GITHUB_ENV
#echo "PKG_CONFIG_PATH=D:\a\_temp\msys64\mingw64\lib\pkgconfig" >> $GITHUB_ENV
pkg-config --list-all
meson setup builddir -Ddebug=false --prefix=$(pwd) --libdir=bin
meson install -C builddir
Expand Down

0 comments on commit f74c3ea

Please sign in to comment.