Update permissions linux-ci (#1784)

This commit is contained in:
Bart Louwers
2023-10-19 22:49:11 +02:00
committed by GitHub
parent e98fe36a79
commit e9efb280de
2 changed files with 10 additions and 7 deletions

View File

@@ -16,7 +16,10 @@ concurrency:
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
permissions:
id-token: write # This is required for requesting the AWS JWT
id-token: write # needed for AWS
actions: read # needed for CodeQL
contents: read # needed for CodeQL
security-events: write # needed for CodeQL
jobs:
pre_job:

View File

@@ -44,6 +44,12 @@ jobs:
cmakeVersion: latest
ninjaVersion: latest
- name: Cache Bloaty
uses: actions/cache@v3
with:
path: bloaty/build/bloaty
key: bloaty-${{ env.bloaty_sha }}
# because Google is not making a release...
# https://github.com/google/bloaty/issues/334
- name: Compile Bloaty
@@ -54,12 +60,6 @@ jobs:
cmake -B build -G Ninja -S .
cmake --build build
- name: Cache Bloaty
uses: actions/cache@v3
with:
path: bloaty/build/bloaty
key: bloaty-${{ env.bloaty_sha }}
- name: Run Bloaty McBloatface on main
run: bloaty/build/bloaty mbgl-render -- mbgl-render-main -n 0 -s vm -d compileunits > tlus_diff_main.txt