Updates for macos. #5
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: iwyu | |
on: | |
pull_request: | |
types: [opened, reopened, synchronize] | |
jobs: | |
includes: | |
name: include-what-you-use | |
runs-on: ubuntu-22.04-large64 | |
strategy: | |
fail-fast: true | |
env: | |
docker: '1.189.1' | |
steps: | |
- name: Checkout opentxs | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: '0' | |
submodules: 'recursive' | |
- name: Cache Docker images | |
uses: ScribeMD/docker-cache@0.3.6 | |
with: | |
key: docker-ci-${{ matrix.docker }} | |
- name: Setup build environment | |
run: | | |
docker pull opentransactions/downstream-ci:${{ env.docker }} | |
- name: Check includes | |
run: | | |
mkdir -p /tmp/opentxs | |
docker run --mount type=bind,src=${{ github.workspace }},dst=/usr/src/ --mount type=bind,src=/tmp/opentxs,dst=/home/output -i --entrypoint /usr/bin/run-iwyu.sh opentransactions/downstream-ci:${{ env.docker }} /usr/src/ iwyu |