1515env :
1616 TETENGO_VER : 1.6.0
1717 CONCURRENT_BUILD : 4
18- BOOST_VER : 1_78_0
19- BOOST_VER_DOT : 1.78 .0
18+ BOOST_VER : 1_79_0
19+ BOOST_VER_DOT : 1.79 .0
2020 BOOST_TOOLSET : msvc-14.3
21- BOOST_CACHE_REV : 0
21+ BOOST_CACHE_REV : 6
2222 EMBEDTRANSFORM_CACHE_REV : 0
2323
2424jobs :
2525 boost_download :
26- name : Boost Download and Expansion
26+ name : Boost Download
2727 runs-on : windows-2022
2828 steps :
2929 - name : Cache Boost source
3030 uses : actions/cache@v2
3131 with :
32- path : .boost_build\boost_${{ env.BOOST_VER }}
32+ path : .boost_build\boost_${{ env.BOOST_VER }}.tar.gz
3333 key : Windows-VisualCpp-BoostSource-${{ env.BOOST_VER }}-${{ env.BOOST_CACHE_REV }}
3434
35- - name : Download and expand Boost
35+ - name : Download Boost
3636 shell : cmd
3737 run : |
38- if not exist .boost_build\boost_${{ env.BOOST_VER }}\.expansion_finished (
38+ if not exist .boost_build\boost_${{ env.BOOST_VER }}.tar.gz (
3939 mkdir .boost_build
4040 cd .boost_build
4141 curl -L -o boost_${{ env.BOOST_VER }}.tar.gz https://boostorg.jfrog.io/artifactory/main/release/${{ env.BOOST_VER_DOT }}/source/boost_${{ env.BOOST_VER }}.tar.gz
42- tar -xf boost_${{ env.BOOST_VER }}.tar.gz
43- echo > boost_${{ env.BOOST_VER }}\.expansion_finished
4442 )
4543
4644 boost_build_for_release_win32 :
5452 - name : Restore Boost source
5553 uses : actions/cache@v2
5654 with :
57- path : .boost_build\boost_${{ env.BOOST_VER }}
55+ path : .boost_build\boost_${{ env.BOOST_VER }}.tar.gz
5856 key : Windows-VisualCpp-BoostSource-${{ env.BOOST_VER }}-${{ env.BOOST_CACHE_REV }}
5957
6058 - name : Cache Boost build
6765 shell : cmd
6866 run : |
6967 if not exist .boost_build\boost_${{ env.BOOST_VER }}\.build_finished (
70- cd .boost_build\boost_${{ env.BOOST_VER }}
68+ cd .boost_build
69+ tar -xf boost_${{ env.BOOST_VER }}.tar.gz
70+ cd boost_${{ env.BOOST_VER }}
7171 call bootstrap.bat
7272 b2.exe -j ${{ env.CONCURRENT_BUILD }} toolset=${{ env.BOOST_TOOLSET }} address-model=32 variant=release link=static --stagedir="stage\Win32" stage
7373 echo > .build_finished
8484 - name : Restore Boost source
8585 uses : actions/cache@v2
8686 with :
87- path : .boost_build\boost_${{ env.BOOST_VER }}
87+ path : .boost_build\boost_${{ env.BOOST_VER }}.tar.gz
8888 key : Windows-VisualCpp-BoostSource-${{ env.BOOST_VER }}-${{ env.BOOST_CACHE_REV }}
8989
9090 - name : Cache Boost build
9797 shell : cmd
9898 run : |
9999 if not exist .boost_build\boost_${{ env.BOOST_VER }}\.build_finished (
100- cd .boost_build\boost_${{ env.BOOST_VER }}
100+ cd .boost_build
101+ tar -xf boost_${{ env.BOOST_VER }}.tar.gz
102+ cd boost_${{ env.BOOST_VER }}
101103 call bootstrap.bat
102104 b2.exe -j ${{ env.CONCURRENT_BUILD }} toolset=${{ env.BOOST_TOOLSET }} address-model=32 variant=debug link=static --stagedir="stage\Win32" stage
103105 echo > .build_finished
@@ -114,7 +116,7 @@ jobs:
114116 - name : Restore Boost source
115117 uses : actions/cache@v2
116118 with :
117- path : .boost_build\boost_${{ env.BOOST_VER }}
119+ path : .boost_build\boost_${{ env.BOOST_VER }}.tar.gz
118120 key : Windows-VisualCpp-BoostSource-${{ env.BOOST_VER }}-${{ env.BOOST_CACHE_REV }}
119121
120122 - name : Cache Boost build
@@ -127,7 +129,9 @@ jobs:
127129 shell : cmd
128130 run : |
129131 if not exist .boost_build\boost_${{ env.BOOST_VER }}\.build_finished (
130- cd .boost_build\boost_${{ env.BOOST_VER }}
132+ cd .boost_build
133+ tar -xf boost_${{ env.BOOST_VER }}.tar.gz
134+ cd boost_${{ env.BOOST_VER }}
131135 call bootstrap.bat
132136 b2.exe -j ${{ env.CONCURRENT_BUILD }} toolset=${{ env.BOOST_TOOLSET }} address-model=64 variant=release link=static --stagedir="stage\x64" stage
133137 echo > .build_finished
@@ -144,7 +148,7 @@ jobs:
144148 - name : Restore Boost source
145149 uses : actions/cache@v2
146150 with :
147- path : .boost_build\boost_${{ env.BOOST_VER }}
151+ path : .boost_build\boost_${{ env.BOOST_VER }}.tar.gz
148152 key : Windows-VisualCpp-BoostSource-${{ env.BOOST_VER }}-${{ env.BOOST_CACHE_REV }}
149153
150154 - name : Cache Boost build
@@ -157,7 +161,9 @@ jobs:
157161 shell : cmd
158162 run : |
159163 if not exist .boost_build\boost_${{ env.BOOST_VER }}\.build_finished (
160- cd .boost_build\boost_${{ env.BOOST_VER }}
164+ cd .boost_build
165+ tar -xf boost_${{ env.BOOST_VER }}.tar.gz
166+ cd boost_${{ env.BOOST_VER }}
161167 call bootstrap.bat
162168 b2.exe -j ${{ env.CONCURRENT_BUILD }} toolset=${{ env.BOOST_TOOLSET }} address-model=64 variant=debug link=static --stagedir="stage\x64" stage
163169 echo > .build_finished
0 commit comments