Skip to content

Commit d3dd944

Browse files
authored
Merge pull request github#18053 from hvitved/compile-queries-ram
CI: Set `--ram` in `compile-queries.yml`
2 parents 61e0086 + 65be8a8 commit d3dd944

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/compile-queries.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ jobs:
3333
# run with --check-only if running in a PR (github.sha != main)
3434
if : ${{ github.event_name == 'pull_request' }}
3535
shell: bash
36-
run: codeql query compile -q -j0 */ql/{src,examples} --keep-going --warnings=error --check-only --compilation-cache "${{ steps.query-cache.outputs.cache-dir }}" --compilation-cache-size=500
36+
run: codeql query compile -q -j0 */ql/{src,examples} --keep-going --warnings=error --check-only --compilation-cache "${{ steps.query-cache.outputs.cache-dir }}" --compilation-cache-size=500 --ram=56000
3737
- name: compile queries - full
3838
# do full compile if running on main - this populates the cache
3939
if : ${{ github.event_name != 'pull_request' }}
4040
shell: bash
41-
run: codeql query compile -q -j0 */ql/{src,examples} --keep-going --warnings=error --compilation-cache "${{ steps.query-cache.outputs.cache-dir }}" --compilation-cache-size=500
41+
run: codeql query compile -q -j0 */ql/{src,examples} --keep-going --warnings=error --compilation-cache "${{ steps.query-cache.outputs.cache-dir }}" --compilation-cache-size=500 --ram=56000

0 commit comments

Comments
 (0)