-
Notifications
You must be signed in to change notification settings - Fork 2
47 lines (37 loc) · 1.04 KB
/
llvm-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
name: CI
on:
schedule:
- cron: "30 */6 * * *"
workflow_dispatch:
jobs:
build:
runs-on: self-hosted
permissions:
issues: write
contents: write
concurrency:
group: baseline
cancel-in-progress: false
steps:
- uses: actions/checkout@v4
with:
submodules: true
fetch-depth: 0
- name: Set up Git
run: |
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git -C llvm/llvm-project checkout .
git -C llvm/llvm-project clean -fdx
- name: Update LLVM
run: ${{ github.workspace }}/scripts/update_llvm.sh
- name: Update ASM
id: update
run: ${{ github.workspace }}/scripts/update_optimized.sh
- name: Report
uses: JasonEtco/create-an-issue@v2
if: steps.update.outputs.SHOULD_OPEN_ISSUE == '1'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
filename: scripts/issue.md