-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaction.yaml
More file actions
35 lines (29 loc) · 893 Bytes
/
Copy pathaction.yaml
File metadata and controls
35 lines (29 loc) · 893 Bytes
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
name: Setup
description: Setup for CI.
inputs:
llvm-path:
description: Path to install LLVM to.
required: true
llvm-version:
description: Version of LLVM to install.
required: true
runs:
using: composite
steps:
- name: Install LLVM Dependencies
shell: bash
run: |
sudo apt update
wget http://security.ubuntu.com/ubuntu/pool/universe/n/ncurses/libtinfo5_6.3-2ubuntu0.1_amd64.deb
sudo apt install ./libtinfo5_6.3-2ubuntu0.1_amd64.deb
- name: Install LLVM and Clang
uses: KyleMayes/install-llvm-action@v2
with:
version: "${{ inputs.llvm-version }}"
directory: "${{ inputs.llvm-path }}"
- name: Install rust
shell: bash
run: |
rustup toolchain install stable --profile minimal --no-self-update
- uses: Swatinem/rust-cache@v2
# spell-checker:ignore libtinfo,Swatinem