@@ -44,30 +44,25 @@ jobs:
44
44
with :
45
45
python-version : 3.x
46
46
cache : " pip"
47
- - id : " gcp-auth"
48
- name : " Authenticating to Google Cloud"
49
- uses : " google-github-actions/auth@v1"
50
- with :
51
- token_format : " access_token"
52
- credentials_json : " ${{ secrets.IREE_OSS_GITHUB_RUNNER_BASIC_TRUST_SERVICE_ACCOUNT_KEY }}"
53
- create_credentials_file : false
54
47
- name : Installing dependencies
55
48
run : |
56
49
pip install -r docs/website/requirements.txt
57
50
pip install requests
51
+ sudo apt update
52
+ sudo apt install -y ninja-build
53
+ echo "CC=clang" >> $GITHUB_ENV
54
+ echo "CXX=clang++" >> $GITHUB_ENV
58
55
- name : Generating release index
59
56
run : |
60
57
./build_tools/scripts/generate_release_index.py \
61
58
--repo="${GITHUB_REPOSITORY}" \
62
59
--output=docs/website/docs/pip-release-links.html
60
+ - name : ccache
61
+ uses : hendrikmuhs/ccache-action@v1.2
62
+ with :
63
+ key : ${{ github.job }}
63
64
- name : Building documentation files
64
- run : |
65
- ./build_tools/github_actions/docker_run.sh \
66
- --env "IREE_CCACHE_GCP_TOKEN=${{ steps.gcp-auth.outputs.access_token }}" \
67
- --env "IREE_WRITE_REMOTE_CCACHE=1" \
68
- --env "CCACHE_NAMESPACE=gcr.io/iree-oss/base@sha256:dc314b4fe30fc1315742512891357bffed4d1b62ffcb46258b1e0761c737b446" \
69
- gcr.io/iree-oss/base@sha256:dc314b4fe30fc1315742512891357bffed4d1b62ffcb46258b1e0761c737b446 \
70
- ./docs/website/generate_extra_files.sh
65
+ run : ./docs/website/generate_extra_files.sh
71
66
- name : Setting git config
72
67
run : |
73
68
git config --local user.email "iree-github-actions-bot@google.com"
0 commit comments