Support Xcode16, use llvm 17.0.6 #12
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: Builds | |
on: | |
push: | |
pull_request: | |
schedule: | |
- cron: '0 15 * * 0' | |
jobs: | |
build: | |
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 build | |
- 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 | |
run: aws s3 cp build/ s3://travisci-artifacts.oclint.org/${GITHUB_REPOSITORY}/gh-build-${GITHUB_RUN_ID} --recursive --exclude "*" --include "oclint-*.tar.gz" | |
if: github.event_name == 'push' |