This commit is contained in:
Edgar 2024-04-09 13:01:10 +02:00
parent fedde08985
commit 3c98af0e69
No known key found for this signature in database
GPG key ID: 70ADAE8F35904387

View file

@ -12,8 +12,8 @@ jobs:
name: clippy name: clippy
runs-on: ubuntu-latest runs-on: ubuntu-latest
env: env:
LLVM_SYS_170_PREFIX: /usr/lib/llvm-17/ LLVM_SYS_180_PREFIX: /usr/lib/llvm-18/
TABLEGEN_170_PREFIX: /usr/lib/llvm-17/ TABLEGEN_180_PREFIX: /usr/lib/llvm-18/
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable - uses: dtolnay/rust-toolchain@stable
@ -21,13 +21,13 @@ jobs:
components: rustfmt, clippy components: rustfmt, clippy
- uses: Swatinem/rust-cache@v2 - uses: Swatinem/rust-cache@v2
- name: add llvm deb repository - name: add llvm deb repository
uses: myci-actions/add-deb-repo@10 uses: myci-actions/add-deb-repo@11
with: 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 repo-name: llvm-repo
keys-asc: https://apt.llvm.org/llvm-snapshot.gpg.key keys-asc: https://apt.llvm.org/llvm-snapshot.gpg.key
- name: Install LLVM - 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 - name: Clippy
run: cargo clippy run: cargo clippy
@ -45,8 +45,8 @@ jobs:
name: test (linux, amd64) name: test (linux, amd64)
runs-on: ubuntu-latest runs-on: ubuntu-latest
env: env:
LLVM_SYS_170_PREFIX: /usr/lib/llvm-17/ LLVM_SYS_180_PREFIX: /usr/lib/llvm-18/
TABLEGEN_170_PREFIX: /usr/lib/llvm-17/ TABLEGEN_180_PREFIX: /usr/lib/llvm-18/
RUST_LOG: debug RUST_LOG: debug
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
@ -60,13 +60,13 @@ jobs:
- name: Retreive cached dependecies - name: Retreive cached dependecies
uses: Swatinem/rust-cache@v2 uses: Swatinem/rust-cache@v2
- name: add llvm deb repository - name: add llvm deb repository
uses: myci-actions/add-deb-repo@10 uses: myci-actions/add-deb-repo@11
with: 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 repo-name: llvm-repo
keys-asc: https://apt.llvm.org/llvm-snapshot.gpg.key keys-asc: https://apt.llvm.org/llvm-snapshot.gpg.key
- name: Install LLVM - 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 - name: Install Link deps
run: sudo apt-get install libc-dev build-essential run: sudo apt-get install libc-dev build-essential
- name: test - name: test