Lines Matching +full:fetch +full:- +full:depth
9 # Github github-script action: https://github.com/actions/github-script
11 # Octokit front-end to the GitHub REST API: https://octokit.github.io/rest.js/v18
12 # Octokit endpoint methods: https://github.com/octokit/plugin-rest-endpoint-methods.js/tree/master/…
14 # TODO: Use actions/upload-artifact and actions/download-artifact to simplify deployment.
23 - master
27 runs-on: ${{matrix.os.genus}}
29 fail-fast: false
31 os: [{genus: ubuntu-20.04, family: linux}]
35 - uses: actions/checkout@v2
36 - uses: actions/setup-python@v2
38 python-version: '3.7'
39 - name: Install Ubuntu Package Dependencies
41 sudo apt-get -qq update
42 sudo apt-get install -y clang-6.0
43 - name: Install GoogleTest
45 # check out pre-breakage version of googletest; can be deleted when
47 # git clone --depth=1 https://github.com/google/googletest.git External/googletest
48 mkdir -p External/googletest
52 git fetch --depth 1 origin 0c400f67fcf305869c5fb113dd296eca266c9725
53 git reset --hard FETCH_HEAD
55 - name: Update Glslang Sources
58 - name: Build
64 … cmake -DCMAKE_BUILD_TYPE=${{matrix.cmake_build_type}} -DCMAKE_INSTALL_PREFIX=`pwd`/install ..
65 make -j4 install
66 - name: Test
69 ctest --output-on-failure &&
71 - name: Zip
74 ARCHIVE: glslang-master-${{matrix.os.family}}-${{matrix.cmake_build_type}}.zip
82 lib/libglslang-default-resource-limits${SUFFIX}.a \
89 lib/libSPIRV-Tools${SUFFIX}.a \
90 lib/libSPIRV-Tools-opt${SUFFIX}.a
91 - name: Deploy
94 ARCHIVE: glslang-master-${{matrix.os.family}}-${{matrix.cmake_build_type}}.zip
95 uses: actions/github-script@v5
102 runs-on: ${{matrix.os.genus}}
104 fail-fast: false
106 os: [{genus: macos-10.15, family: osx}]
110 - uses: actions/checkout@v2
111 - uses: actions/setup-python@v2
113 python-version: '3.7'
114 - name: Install GoogleTest
116 # check out pre-breakage version of googletest; can be deleted when
118 # git clone --depth=1 https://github.com/google/googletest.git External/googletest
119 mkdir -p External/googletest
123 git fetch --depth 1 origin 0c400f67fcf305869c5fb113dd296eca266c9725
124 git reset --hard FETCH_HEAD
126 - name: Update Glslang Sources
129 - name: Build
135 … cmake -DCMAKE_BUILD_TYPE=${{matrix.cmake_build_type}} -DCMAKE_INSTALL_PREFIX=`pwd`/install ..
136 make -j4 install
137 - name: Test
140 ctest --output-on-failure &&
142 - name: Zip
144 ARCHIVE: glslang-master-${{matrix.os.family}}-${{matrix.cmake_build_type}}.zip
152 lib/libglslang-default-resource-limits${SUFFIX}.a \
159 lib/libSPIRV-Tools${SUFFIX}.a \
160 lib/libSPIRV-Tools-opt${SUFFIX}.a
161 - name: Deploy
163 ARCHIVE: glslang-master-${{matrix.os.family}}-${{matrix.cmake_build_type}}.zip
164 uses: actions/github-script@v5