Skip to content

Commit

Permalink
Cache Tcl as well. Also make names consistent with Linux and Mac
Browse files Browse the repository at this point in the history
  • Loading branch information
apnadkarni committed Mar 13, 2021
1 parent 01c4717 commit 22c5082
Showing 1 changed file with 20 additions and 5 deletions.
25 changes: 20 additions & 5 deletions .github/workflows/windows-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,19 +60,34 @@ jobs:
if: steps.curl-cache.outputs.cache-hit != 'true'
run: vcpkg install curl:x64-windows-static

- name: Cache Tcl build
id: tcl-cache
uses: actions/cache@v2
with:
path: C:/tcl
key: ${{ runner.os }}-vcpkgzlib

- name: Build Tcl
if: steps.tcl-cache.outputs.cache-hit != 'true'
working-directory: tcl/win
shell: cmd
run: |
nmake /f makefile.vc INSTALLDIR=C:\tcl
nmake /f makefile.vc INSTALLDIR=C:\tcl install
- name: Build tclcurl
- name: make
working-directory: tclcurl/win
shell: cmd
run: |
nmake /f makefile.vc INSTALLDIR=C:\tcl CURLDIR=C:\vcpkg\packages\curl_x64-windows-static CURLDEPSDIR=C:\vcpkg\packages\zlib_x64-windows-static
nmake /f makefile.vc INSTALLDIR=C:\tcl CURLDIR=C:\vcpkg\packages\curl_x64-windows-static CURLDEPSDIR=C:\vcpkg\packages\zlib_x64-windows-static install
nmake /f makefile.vc INSTALLDIR=C:\tcl CURLDIR=C:\vcpkg\packages\curl_x64-windows-static CURLDEPSDIR=C:\vcpkg\packages\zlib_x64-windows-static test
run: nmake /f makefile.vc INSTALLDIR=C:\tcl CURLDIR=C:\vcpkg\packages\curl_x64-windows-static CURLDEPSDIR=C:\vcpkg\packages\zlib_x64-windows-static

- name: install
working-directory: tclcurl/win
shell: cmd
run: nmake /f makefile.vc INSTALLDIR=C:\tcl CURLDIR=C:\vcpkg\packages\curl_x64-windows-static CURLDEPSDIR=C:\vcpkg\packages\zlib_x64-windows-static install

- name: test
working-directory: tclcurl/win
shell: cmd
run: nmake /f makefile.vc INSTALLDIR=C:\tcl CURLDIR=C:\vcpkg\packages\curl_x64-windows-static CURLDEPSDIR=C:\vcpkg\packages\zlib_x64-windows-static test


0 comments on commit 22c5082

Please sign in to comment.