mirror of
https://github.com/edg-l/edlang.git
synced 2024-11-22 07:58:24 +00:00
ci
This commit is contained in:
parent
fedde08985
commit
3c98af0e69
20
.github/workflows/ci.yml
vendored
20
.github/workflows/ci.yml
vendored
|
@ -12,8 +12,8 @@ jobs:
|
|||
name: clippy
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
LLVM_SYS_170_PREFIX: /usr/lib/llvm-17/
|
||||
TABLEGEN_170_PREFIX: /usr/lib/llvm-17/
|
||||
LLVM_SYS_180_PREFIX: /usr/lib/llvm-18/
|
||||
TABLEGEN_180_PREFIX: /usr/lib/llvm-18/
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: dtolnay/rust-toolchain@stable
|
||||
|
@ -21,13 +21,13 @@ jobs:
|
|||
components: rustfmt, clippy
|
||||
- uses: Swatinem/rust-cache@v2
|
||||
- name: add llvm deb repository
|
||||
uses: myci-actions/add-deb-repo@10
|
||||
uses: myci-actions/add-deb-repo@11
|
||||
with:
|
||||
repo: deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy-17 main
|
||||
repo: deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy-18 main
|
||||
repo-name: llvm-repo
|
||||
keys-asc: https://apt.llvm.org/llvm-snapshot.gpg.key
|
||||
- name: Install LLVM
|
||||
run: sudo apt-get install llvm-17 llvm-17-dev llvm-17-runtime clang-17 clang-tools-17 lld-17 libpolly-17-dev
|
||||
run: sudo apt-get install llvm-18 llvm-18-dev llvm-18-runtime clang-18 clang-tools-18 lld-18 libpolly-18-dev
|
||||
- name: Clippy
|
||||
run: cargo clippy
|
||||
|
||||
|
@ -45,8 +45,8 @@ jobs:
|
|||
name: test (linux, amd64)
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
LLVM_SYS_170_PREFIX: /usr/lib/llvm-17/
|
||||
TABLEGEN_170_PREFIX: /usr/lib/llvm-17/
|
||||
LLVM_SYS_180_PREFIX: /usr/lib/llvm-18/
|
||||
TABLEGEN_180_PREFIX: /usr/lib/llvm-18/
|
||||
RUST_LOG: debug
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
@ -60,13 +60,13 @@ jobs:
|
|||
- name: Retreive cached dependecies
|
||||
uses: Swatinem/rust-cache@v2
|
||||
- name: add llvm deb repository
|
||||
uses: myci-actions/add-deb-repo@10
|
||||
uses: myci-actions/add-deb-repo@11
|
||||
with:
|
||||
repo: deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy-17 main
|
||||
repo: deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy-18 main
|
||||
repo-name: llvm-repo
|
||||
keys-asc: https://apt.llvm.org/llvm-snapshot.gpg.key
|
||||
- name: Install LLVM
|
||||
run: sudo apt-get install llvm-17 llvm-17-dev llvm-17-runtime clang-17 clang-tools-17 lld-17 libpolly-17-dev
|
||||
run: sudo apt-get install llvm-18 llvm-18-dev llvm-18-runtime clang-18 clang-tools-18 lld-18 libpolly-18-dev
|
||||
- name: Install Link deps
|
||||
run: sudo apt-get install libc-dev build-essential
|
||||
- name: test
|
||||
|
|
Loading…
Reference in a new issue