Fix LLVM-Config.cmake failed for using "engine" "IN_LIST" "link_compo… #10
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: Documentation Generation | |
on: [push, pull_request] | |
jobs: | |
docgen: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-20.04, macos-11] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v2 | |
- run: sudo xcode-select -s /Applications/Xcode.app/Contents/Developer | |
if: matrix.os == 'macos-11' | |
- run: cd oclint-scripts && ./gh-actions docgen | |
- name: Configure AWS credentials | |
uses: aws-actions/configure-aws-credentials@v1 | |
with: | |
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} | |
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | |
aws-region: us-east-1 | |
if: github.event_name == 'push' | |
- name: Copy artifacts to AWS S3 | |
env: | |
RUNNER_OS: ${{ matrix.os }} | |
run: aws s3 cp build/ s3://travisci-artifacts.oclint.org/${GITHUB_REPOSITORY}/gh-docgen-${GITHUB_RUN_ID}/${RUNNER_OS} --recursive --exclude "*" --include "oclint-*.tar.gz" | |
if: github.event_name == 'push' |