Skip to content

Commit

Permalink
Bump all versions to latest
Browse files Browse the repository at this point in the history
  • Loading branch information
Shao-Ce SUN committed May 10, 2023
1 parent bb74f66 commit 0cef978
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 7 deletions.
10 changes: 6 additions & 4 deletions .github/actions/install_llvm/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ inputs:
default: 'llvm/llvm-project'
ref:
description: 'The llvm-project branch, tag or SHA to checkout.'
default: 'llvmorg-13.0.0'
default: 'llvmorg-16.0.1'
path:
description: 'Relative path under $GITHUB_WORKSPACE to place the repository'
default: './llvm-project'
Expand All @@ -19,15 +19,17 @@ runs:
shell: pwsh

- name: Checkout LLVM project (Windows)
uses: actions/checkout@v2
uses: actions/checkout@v3.5.0
with:
repository: ${{inputs.repository}}
ref: ${{inputs.ref}}
path: ${{inputs.path}}

# Required to find cl.exe
- name: Setup devcmd (Windows)
uses: ilammy/msvc-dev-cmd@v1
uses: ilammy/msvc-dev-cmd@v1.12.1
with:
arch: x86

- name: Build and install LLVM project (Windows)
env:
Expand All @@ -41,7 +43,7 @@ runs:
shell: pwsh

# Use default 90-day retention period
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3.1.2
with:
name: llvm-inst
path: "./llvm-project/inst"
14 changes: 11 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,24 @@ name: Build and install LLVM on Windows
on:
# Allow running the workflow manually
workflow_dispatch:
# Run the workflow 4 times a year, approximately after LLVM releases
# Run the workflow once a week
schedule:
- cron: '0 6 21 FEB,MAY,AUG,NOV *'
- cron: '6 22 * * SUN'
# Run the workflow when a push is made
push:
branches:
- main
# Run the workflow when a pull request is made
pull_request:
branches:
- main

jobs:
build_and_test:
name: Build LLDB-MI and run the testsuite
runs-on: windows-latest
steps:
- name: Check out the repository
uses: actions/checkout@v2
uses: actions/checkout@v3.5.0
- name: Use local action install_llvm with default arguments
uses: ./.github/actions/install_llvm

0 comments on commit 0cef978

Please sign in to comment.