|
| 1 | +# This file was @generated by getdeps.py |
| 2 | + |
| 3 | +name: getdeps-3_14-Linux |
| 4 | + |
| 5 | +on: |
| 6 | + push: |
| 7 | + branches: |
| 8 | + - main |
| 9 | + pull_request: |
| 10 | + branches: |
| 11 | + - main |
| 12 | + |
| 13 | +permissions: |
| 14 | + contents: read # to fetch code (actions/checkout) |
| 15 | + |
| 16 | +jobs: |
| 17 | + build: |
| 18 | + runs-on: ubuntu-latest |
| 19 | + steps: |
| 20 | + - uses: actions/checkout@v4 |
| 21 | + - id: paths |
| 22 | + name: Query paths |
| 23 | + run: python3 build/fbcode_builder/getdeps.py query-paths --recursive --src-dir=. cinderx-3_14 >> "$GITHUB_OUTPUT" |
| 24 | + - name: Fetch ninja |
| 25 | + if: ${{ steps.paths.outputs.ninja_SOURCE }} |
| 26 | + run: python3 build/fbcode_builder/getdeps.py fetch --no-tests ninja |
| 27 | + - name: Fetch cmake |
| 28 | + if: ${{ steps.paths.outputs.cmake_SOURCE }} |
| 29 | + run: python3 build/fbcode_builder/getdeps.py fetch --no-tests cmake |
| 30 | + - name: Fetch python-setuptools |
| 31 | + if: ${{ steps.paths.outputs.python-setuptools_SOURCE }} |
| 32 | + run: python3 build/fbcode_builder/getdeps.py fetch --no-tests python-setuptools |
| 33 | + - name: Fetch autoconf |
| 34 | + if: ${{ steps.paths.outputs.autoconf_SOURCE }} |
| 35 | + run: python3 build/fbcode_builder/getdeps.py fetch --no-tests autoconf |
| 36 | + - name: Fetch automake |
| 37 | + if: ${{ steps.paths.outputs.automake_SOURCE }} |
| 38 | + run: python3 build/fbcode_builder/getdeps.py fetch --no-tests automake |
| 39 | + - name: Fetch libtool |
| 40 | + if: ${{ steps.paths.outputs.libtool_SOURCE }} |
| 41 | + run: python3 build/fbcode_builder/getdeps.py fetch --no-tests libtool |
| 42 | + - name: Fetch python-3_14 |
| 43 | + if: ${{ steps.paths.outputs.python-3_14_SOURCE }} |
| 44 | + run: python3 build/fbcode_builder/getdeps.py fetch --no-tests python-3_14 |
| 45 | + - name: Restore ninja from cache |
| 46 | + id: restore_ninja |
| 47 | + if: ${{ steps.paths.outputs.ninja_SOURCE }} |
| 48 | + uses: actions/cache/restore@v4 |
| 49 | + with: |
| 50 | + path: ${{ steps.paths.outputs.ninja_INSTALL }} |
| 51 | + key: ${{ steps.paths.outputs.ninja_CACHE_KEY }}-install |
| 52 | + - name: Build ninja |
| 53 | + if: ${{ steps.paths.outputs.ninja_SOURCE && ! steps.restore_ninja.outputs.cache-hit }} |
| 54 | + run: python3 build/fbcode_builder/getdeps.py build --no-tests ninja |
| 55 | + - name: Save ninja to cache |
| 56 | + uses: actions/cache/save@v4 |
| 57 | + if: ${{ steps.paths.outputs.ninja_SOURCE && ! steps.restore_ninja.outputs.cache-hit }} |
| 58 | + with: |
| 59 | + path: ${{ steps.paths.outputs.ninja_INSTALL }} |
| 60 | + key: ${{ steps.paths.outputs.ninja_CACHE_KEY }}-install |
| 61 | + - name: Restore cmake from cache |
| 62 | + id: restore_cmake |
| 63 | + if: ${{ steps.paths.outputs.cmake_SOURCE }} |
| 64 | + uses: actions/cache/restore@v4 |
| 65 | + with: |
| 66 | + path: ${{ steps.paths.outputs.cmake_INSTALL }} |
| 67 | + key: ${{ steps.paths.outputs.cmake_CACHE_KEY }}-install |
| 68 | + - name: Build cmake |
| 69 | + if: ${{ steps.paths.outputs.cmake_SOURCE && ! steps.restore_cmake.outputs.cache-hit }} |
| 70 | + run: python3 build/fbcode_builder/getdeps.py build --no-tests cmake |
| 71 | + - name: Save cmake to cache |
| 72 | + uses: actions/cache/save@v4 |
| 73 | + if: ${{ steps.paths.outputs.cmake_SOURCE && ! steps.restore_cmake.outputs.cache-hit }} |
| 74 | + with: |
| 75 | + path: ${{ steps.paths.outputs.cmake_INSTALL }} |
| 76 | + key: ${{ steps.paths.outputs.cmake_CACHE_KEY }}-install |
| 77 | + - name: Restore python-setuptools from cache |
| 78 | + id: restore_python-setuptools |
| 79 | + if: ${{ steps.paths.outputs.python-setuptools_SOURCE }} |
| 80 | + uses: actions/cache/restore@v4 |
| 81 | + with: |
| 82 | + path: ${{ steps.paths.outputs.python-setuptools_INSTALL }} |
| 83 | + key: ${{ steps.paths.outputs.python-setuptools_CACHE_KEY }}-install |
| 84 | + - name: Build python-setuptools |
| 85 | + if: ${{ steps.paths.outputs.python-setuptools_SOURCE && ! steps.restore_python-setuptools.outputs.cache-hit }} |
| 86 | + run: python3 build/fbcode_builder/getdeps.py build --no-tests python-setuptools |
| 87 | + - name: Save python-setuptools to cache |
| 88 | + uses: actions/cache/save@v4 |
| 89 | + if: ${{ steps.paths.outputs.python-setuptools_SOURCE && ! steps.restore_python-setuptools.outputs.cache-hit }} |
| 90 | + with: |
| 91 | + path: ${{ steps.paths.outputs.python-setuptools_INSTALL }} |
| 92 | + key: ${{ steps.paths.outputs.python-setuptools_CACHE_KEY }}-install |
| 93 | + - name: Restore autoconf from cache |
| 94 | + id: restore_autoconf |
| 95 | + if: ${{ steps.paths.outputs.autoconf_SOURCE }} |
| 96 | + uses: actions/cache/restore@v4 |
| 97 | + with: |
| 98 | + path: ${{ steps.paths.outputs.autoconf_INSTALL }} |
| 99 | + key: ${{ steps.paths.outputs.autoconf_CACHE_KEY }}-install |
| 100 | + - name: Build autoconf |
| 101 | + if: ${{ steps.paths.outputs.autoconf_SOURCE && ! steps.restore_autoconf.outputs.cache-hit }} |
| 102 | + run: python3 build/fbcode_builder/getdeps.py build --no-tests autoconf |
| 103 | + - name: Save autoconf to cache |
| 104 | + uses: actions/cache/save@v4 |
| 105 | + if: ${{ steps.paths.outputs.autoconf_SOURCE && ! steps.restore_autoconf.outputs.cache-hit }} |
| 106 | + with: |
| 107 | + path: ${{ steps.paths.outputs.autoconf_INSTALL }} |
| 108 | + key: ${{ steps.paths.outputs.autoconf_CACHE_KEY }}-install |
| 109 | + - name: Restore automake from cache |
| 110 | + id: restore_automake |
| 111 | + if: ${{ steps.paths.outputs.automake_SOURCE }} |
| 112 | + uses: actions/cache/restore@v4 |
| 113 | + with: |
| 114 | + path: ${{ steps.paths.outputs.automake_INSTALL }} |
| 115 | + key: ${{ steps.paths.outputs.automake_CACHE_KEY }}-install |
| 116 | + - name: Build automake |
| 117 | + if: ${{ steps.paths.outputs.automake_SOURCE && ! steps.restore_automake.outputs.cache-hit }} |
| 118 | + run: python3 build/fbcode_builder/getdeps.py build --no-tests automake |
| 119 | + - name: Save automake to cache |
| 120 | + uses: actions/cache/save@v4 |
| 121 | + if: ${{ steps.paths.outputs.automake_SOURCE && ! steps.restore_automake.outputs.cache-hit }} |
| 122 | + with: |
| 123 | + path: ${{ steps.paths.outputs.automake_INSTALL }} |
| 124 | + key: ${{ steps.paths.outputs.automake_CACHE_KEY }}-install |
| 125 | + - name: Restore libtool from cache |
| 126 | + id: restore_libtool |
| 127 | + if: ${{ steps.paths.outputs.libtool_SOURCE }} |
| 128 | + uses: actions/cache/restore@v4 |
| 129 | + with: |
| 130 | + path: ${{ steps.paths.outputs.libtool_INSTALL }} |
| 131 | + key: ${{ steps.paths.outputs.libtool_CACHE_KEY }}-install |
| 132 | + - name: Build libtool |
| 133 | + if: ${{ steps.paths.outputs.libtool_SOURCE && ! steps.restore_libtool.outputs.cache-hit }} |
| 134 | + run: python3 build/fbcode_builder/getdeps.py build --no-tests libtool |
| 135 | + - name: Save libtool to cache |
| 136 | + uses: actions/cache/save@v4 |
| 137 | + if: ${{ steps.paths.outputs.libtool_SOURCE && ! steps.restore_libtool.outputs.cache-hit }} |
| 138 | + with: |
| 139 | + path: ${{ steps.paths.outputs.libtool_INSTALL }} |
| 140 | + key: ${{ steps.paths.outputs.libtool_CACHE_KEY }}-install |
| 141 | + - name: Restore python-3_14 from cache |
| 142 | + id: restore_python-3_14 |
| 143 | + if: ${{ steps.paths.outputs.python-3_14_SOURCE }} |
| 144 | + uses: actions/cache/restore@v4 |
| 145 | + with: |
| 146 | + path: ${{ steps.paths.outputs.python-3_14_INSTALL }} |
| 147 | + key: ${{ steps.paths.outputs.python-3_14_CACHE_KEY }}-install |
| 148 | + - name: Build python-3_14 |
| 149 | + if: ${{ steps.paths.outputs.python-3_14_SOURCE && ! steps.restore_python-3_14.outputs.cache-hit }} |
| 150 | + run: python3 build/fbcode_builder/getdeps.py build --no-tests python-3_14 |
| 151 | + - name: Save python-3_14 to cache |
| 152 | + uses: actions/cache/save@v4 |
| 153 | + if: ${{ steps.paths.outputs.python-3_14_SOURCE && ! steps.restore_python-3_14.outputs.cache-hit }} |
| 154 | + with: |
| 155 | + path: ${{ steps.paths.outputs.python-3_14_INSTALL }} |
| 156 | + key: ${{ steps.paths.outputs.python-3_14_CACHE_KEY }}-install |
| 157 | + - name: Build cinderx-3_14 |
| 158 | + run: python3 build/fbcode_builder/getdeps.py build --src-dir=. cinderx-3_14 --project-install-prefix cinderx-3_14:/usr/local |
| 159 | + - name: Copy artifacts |
| 160 | + run: python3 build/fbcode_builder/getdeps.py fixup-dyn-deps --strip --src-dir=. cinderx-3_14 _artifacts/linux --project-install-prefix cinderx-3_14:/usr/local --final-install-prefix /usr/local |
| 161 | + - uses: actions/upload-artifact@v4 |
| 162 | + with: |
| 163 | + name: cinderx-3_14 |
| 164 | + path: _artifacts |
| 165 | + - name: Test cinderx-3_14 |
| 166 | + run: python3 build/fbcode_builder/getdeps.py test --src-dir=. cinderx-3_14 --project-install-prefix cinderx-3_14:/usr/local |
0 commit comments