Skip to content

Point workflow yaml at new docker image #47080

Point workflow yaml at new docker image

Point workflow yaml at new docker image #47080

Workflow file for this run

name: LLVM Premerge Checks
permissions:
contents: read
on:
pull_request:
types:
- opened
- synchronize
- reopened
# When a PR is closed, we still start this workflow, but then skip
# all the jobs, which makes it effectively a no-op. The reason to
# do this is that it allows us to take advantage of concurrency groups
# to cancel in progress CI jobs whenever the PR is closed.
- closed
push:
branches:
- 'main'
- 'release/**'
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
cancel-in-progress: true
jobs:
premerge-checks-linux:
name: Linux Premerge Checks (Test Only - Please Ignore Results)
if: >-
github.repository_owner == 'llvm' &&
(github.event_name != 'pull_request' || github.event.action != 'closed')
runs-on: ubuntu-latest
container:
image: ghcr.io/gburgessiv/llvm-ci-with-checkout:latest
steps:
- name: Seed LLVM repo
run: |
set -e
echo "Removing old workspace dir"
rmdir "${GITHUB_WORKSPACE}"
echo "Creating symlink"
ln -s /home/gha/llvm-project "${GITHUB_WORKSPACE}"
echo "Successfully linked"
- name: Checkout LLVM
uses: gburgessiv/checkout@cd9bfd32b603629c83b862731b9177c640196083 # v4.2.2