Toolchain sanity #1
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: Toolchain sanity | |
on: | |
pull_request: | |
branches-ignore: | |
- main | |
paths: # waiting for https://github.com/actions/runner/issues/2324 | |
- .dx/** | |
- .github/** | |
- tools/** | |
workflow_dispatch: | |
jobs: | |
up-to-binaries: | |
name: Up to binaries in ${{ matrix.devenv.name }} env | |
timeout-minutes: 5 | |
strategy: | |
matrix: | |
devenv: | |
- name: turing | |
os: ubuntu-22.04 | |
- name: church | |
os: ubuntu-20.04 | |
runs-on: ${{ matrix.devenv.os }} | |
steps: | |
- uses: actions/[email protected] | |
- uses: ./.github/actions/prepare | |
with: | |
name: ${{ matrix.devenv.name }} | |
tools: python java | |
token: ${{ secrets.GITHUB_TOKEN }} | |
- run: ansible-playbook codebase.yaml -e focus=toolchain | |
working-directory: .dx | |
env: | |
GITHUB_ACTOR: ${{ github.actor }} | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- run: ansible-playbook binaries.yaml -e focus=toolchain | |
working-directory: .dx | |
env: | |
GITHUB_ACTOR: ${{ github.actor }} | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |