Re-sync with internal repository
[hiphop-php.git] / third-party / folly / src / .github / workflows / getdeps_windows.yml
blobf6d74b40371a80cfaa2fdfc7674d536d35d18a15
1 # This file was @generated by getdeps.py
3 name: windows
5 on:
6   push:
7     branches:
8     - main
9   pull_request:
10     branches:
11     - main
13 jobs:
14   build:
15     runs-on: windows-2019
16     steps:
17     - name: Export boost environment
18       run: "echo BOOST_ROOT=%BOOST_ROOT_1_78_0% >> %GITHUB_ENV%"
19       shell: cmd
20     - name: Fix Git config
21       run: git config --system core.longpaths true
22     - name: Disable autocrlf
23       run: git config --system core.autocrlf false
24     - uses: actions/checkout@v2
25     - name: Fetch boost
26       run: python build/fbcode_builder/getdeps.py fetch --no-tests boost
27     - name: Fetch libsodium
28       run: python build/fbcode_builder/getdeps.py fetch --no-tests libsodium
29     - name: Fetch ninja
30       run: python build/fbcode_builder/getdeps.py fetch --no-tests ninja
31     - name: Fetch cmake
32       run: python build/fbcode_builder/getdeps.py fetch --no-tests cmake
33     - name: Fetch double-conversion
34       run: python build/fbcode_builder/getdeps.py fetch --no-tests double-conversion
35     - name: Fetch fmt
36       run: python build/fbcode_builder/getdeps.py fetch --no-tests fmt
37     - name: Fetch gflags
38       run: python build/fbcode_builder/getdeps.py fetch --no-tests gflags
39     - name: Fetch glog
40       run: python build/fbcode_builder/getdeps.py fetch --no-tests glog
41     - name: Fetch googletest
42       run: python build/fbcode_builder/getdeps.py fetch --no-tests googletest
43     - name: Fetch lz4
44       run: python build/fbcode_builder/getdeps.py fetch --no-tests lz4
45     - name: Fetch perl
46       run: python build/fbcode_builder/getdeps.py fetch --no-tests perl
47     - name: Fetch openssl
48       run: python build/fbcode_builder/getdeps.py fetch --no-tests openssl
49     - name: Fetch snappy
50       run: python build/fbcode_builder/getdeps.py fetch --no-tests snappy
51     - name: Fetch zlib
52       run: python build/fbcode_builder/getdeps.py fetch --no-tests zlib
53     - name: Fetch zstd
54       run: python build/fbcode_builder/getdeps.py fetch --no-tests zstd
55     - name: Fetch libevent
56       run: python build/fbcode_builder/getdeps.py fetch --no-tests libevent
57     - name: Build boost
58       run: python build/fbcode_builder/getdeps.py build --no-tests boost
59     - name: Build libsodium
60       run: python build/fbcode_builder/getdeps.py build --no-tests libsodium
61     - name: Build ninja
62       run: python build/fbcode_builder/getdeps.py build --no-tests ninja
63     - name: Build cmake
64       run: python build/fbcode_builder/getdeps.py build --no-tests cmake
65     - name: Build double-conversion
66       run: python build/fbcode_builder/getdeps.py build --no-tests double-conversion
67     - name: Build fmt
68       run: python build/fbcode_builder/getdeps.py build --no-tests fmt
69     - name: Build gflags
70       run: python build/fbcode_builder/getdeps.py build --no-tests gflags
71     - name: Build glog
72       run: python build/fbcode_builder/getdeps.py build --no-tests glog
73     - name: Build googletest
74       run: python build/fbcode_builder/getdeps.py build --no-tests googletest
75     - name: Build lz4
76       run: python build/fbcode_builder/getdeps.py build --no-tests lz4
77     - name: Build perl
78       run: python build/fbcode_builder/getdeps.py build --no-tests perl
79     - name: Build openssl
80       run: python build/fbcode_builder/getdeps.py build --no-tests openssl
81     - name: Build snappy
82       run: python build/fbcode_builder/getdeps.py build --no-tests snappy
83     - name: Build zlib
84       run: python build/fbcode_builder/getdeps.py build --no-tests zlib
85     - name: Build zstd
86       run: python build/fbcode_builder/getdeps.py build --no-tests zstd
87     - name: Build libevent
88       run: python build/fbcode_builder/getdeps.py build --no-tests libevent
89     - name: Build folly
90       run: python build/fbcode_builder/getdeps.py build --src-dir=. folly 
91     - name: Copy artifacts
92       run: python build/fbcode_builder/getdeps.py fixup-dyn-deps --src-dir=. folly _artifacts/windows  --final-install-prefix /usr/local
93     - uses: actions/upload-artifact@v2
94       with:
95         name: folly
96         path: _artifacts
97     - name: Test folly
98       run: python build/fbcode_builder/getdeps.py test --src-dir=. folly