|
21 | 21 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
22 | 22 | steps: |
23 | 23 | - uses: actions/checkout@v4 |
24 | | - - name: Cache build directory |
25 | | - uses: actions/cache@v4 |
26 | | - with: |
27 | | - path: build |
28 | | - key: ${{ runner.os }}-build-py-${{ hashFiles('src/**', 'include/**', 'CMakeLists.txt', 'pyproject.toml') }} |
29 | | - restore-keys: | |
30 | | - ${{ runner.os }}-build-py- |
31 | 24 | - name: Install CPP dependencies |
32 | 25 | run: sudo apt install $(cat debian_deps.txt) |
33 | 26 | - name: Install virtual frame buffer tool |
|
89 | 82 | key: ${{ runner.os }}-apt-${{ hashFiles('debian_deps.txt') }} |
90 | 83 | restore-keys: | |
91 | 84 | ${{ runner.os }}-apt- |
92 | | - - name: Cache rcs build directory |
93 | | - uses: actions/cache@v4 |
94 | | - with: |
95 | | - path: build |
96 | | - key: ${{ runner.os }}-build-py-${{ hashFiles('src/**', 'include/**', 'CMakeLists.txt', 'pyproject.toml') }} |
97 | | - restore-keys: | |
98 | | - ${{ runner.os }}-build-py- |
99 | 85 | - name: Install dependencies |
100 | 86 | run: sudo apt install $(cat debian_deps.txt) |
101 | 87 | - name: Set up Python 3.11 |
@@ -141,20 +127,6 @@ jobs: |
141 | 127 | if [ -f extensions/${{ matrix.extension }}/debian_deps.txt ]; then |
142 | 128 | sudo apt install $(cat extensions/${{ matrix.extension }}/debian_deps.txt) |
143 | 129 | fi |
144 | | - - name: Cache rcs build directory |
145 | | - uses: actions/cache@v4 |
146 | | - with: |
147 | | - path: build |
148 | | - key: ${{ runner.os }}-build-py-${{ hashFiles('src/**', 'include/**', 'CMakeLists.txt', 'pyproject.toml') }} |
149 | | - restore-keys: | |
150 | | - ${{ runner.os }}-build-py- |
151 | | - - name: Cache extension build directory |
152 | | - uses: actions/cache@v4 |
153 | | - with: |
154 | | - path: extensions/${{ matrix.extension }}/build |
155 | | - key: ${{ runner.os }}-build-ext-${{ matrix.extension }}-${{ hashFiles('extensions/${{ matrix.extension }}/**') }} |
156 | | - restore-keys: | |
157 | | - ${{ runner.os }}-build-ext-${{ matrix.extension }}- |
158 | 130 | - name: Install dependencies |
159 | 131 | run: sudo apt install $(cat debian_deps.txt) |
160 | 132 | - name: Set up Python 3.11 |
|
0 commit comments