Temporary hack #1392
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Buildbot Validations | |
on: [ push, pull_request ] | |
jobs: | |
test: | |
name: Check buildbot config on Python ${{ matrix.python-version }} | |
# TODO: should be ubuntu-latest, but actions/setup-python doesn't work with ubuntu 22 just yet | |
runs-on: ubuntu-20.04 | |
strategy: | |
matrix: | |
python-version: [ 3.8, 3.9, "3.10", 3.11 ] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v4.3.0 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install importlib | |
python -m pip install importlib.metadata | |
pip install -r requirements.txt | |
- name: Check config | |
run: | | |
cd master | |
echo "$GITHUB_TOKEN" > github_token.txt | |
cp github_token.txt buildbot_www_pass.txt | |
cp github_token.txt halide_bb_pass.txt | |
cp github_token.txt webhook_token.txt | |
buildbot checkconfig |