diff options
Diffstat (limited to '.github/workflows/nightly.yml')
-rw-r--r-- | .github/workflows/nightly.yml | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 4a6bc53..52c5425 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -218,9 +218,11 @@ jobs: mkdir build-wingui build-wincon (cd build-wingui ../configure --with-interface=pdcurses-gui --enable-html-manual --program-prefix=g \ + --with-scitecodatadir=. \ PDCURSES_LIBS="-lpdcurses_wingui -lgdi32 -lcomdlg32 -lwinmm") (cd build-wincon ../configure --with-interface=pdcurses --enable-html-manual \ + --with-scitecodatadir=. \ PDCURSES_LIBS="-lpdcurses_wincon -lgdi32 -lwinmm") - name: make @@ -244,9 +246,10 @@ jobs: run: | mkdir temp-bin/ cd temp-bin/ - cp /mingw32/bin/{gsciteco.exe,sciteco.exe,grosciteco.tes,tedoc.tes} ./ - cp -r /mingw32/share/sciteco/{lib,*.tmac} ./ - cp /mingw32/share/sciteco/sample.teco_ini .teco_ini + cp -r /mingw32/bin/{gsciteco.exe,sciteco.exe,grosciteco.tes,tedoc.tes} ./ + # datadir is relative to bindir + cp -r /mingw32/bin/{lib,*.tmac} ./ + cp /mingw32/bin/sample.teco_ini .teco_ini cp -r /mingw32/share/doc/sciteco/* ./ cp ../COPYING ../ChangeLog ./ cp /mingw32/bin/gspawn-win32-helper*.exe ./ @@ -300,7 +303,8 @@ jobs: LDFLAGS: -flto run: | autoreconf -i - ./configure --with-interface=gtk --enable-html-manual + ./configure --with-interface=gtk --enable-html-manual \ + --with-scitecodatadir=. - name: make run: make -j 2 @@ -317,11 +321,12 @@ jobs: mkdir temp-bin cd temp-bin cp /mingw32/bin/{sciteco.exe,grosciteco.tes,tedoc.tes} ./ - cp -r /mingw32/share/sciteco/{lib,*.tmac} ./ + # datadir is relative to bindir + cp -r /mingw32/bin/{lib,*.tmac} ./ # FIXME: Maybe there should be a separate win32/.teco_ini with # a few pre-enabled settings? - cp /mingw32/share/sciteco/sample.teco_ini .teco_ini - cp /mingw32/share/sciteco/fallback.css .teco_css + cp /mingw32/bin/sample.teco_ini .teco_ini + cp /mingw32/bin/fallback.css .teco_css cp -r /mingw32/share/doc/sciteco/* ./ cp ../COPYING ../ChangeLog ./ cp /mingw32/bin/gspawn-win32-helper*.exe ./ |