-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fa51172
commit da06afb
Showing
1 changed file
with
6 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,7 +25,7 @@ jobs: | |
with: | ||
components: clippy, rustfmt | ||
- uses: Swatinem/rust-cache@v2 | ||
- name: add llvm deb repository | ||
- name: Add LLVM Debian repository | ||
uses: myci-actions/add-deb-repo@10 | ||
with: | ||
repo: deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy-18 main | ||
|
@@ -36,7 +36,7 @@ jobs: | |
- name: Clippy | ||
run: cargo clippy --all-targets -- -D warnings | ||
|
||
fmt: | ||
format: | ||
name: rustfmt | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
@@ -94,15 +94,15 @@ jobs: | |
toolchain: nightly-2024-02-01 | ||
components: rustfmt | ||
|
||
- name: add llvm deb repository | ||
- name: Add llvm deb repository | ||
uses: myci-actions/add-deb-repo@10 | ||
with: | ||
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-18 llvm-18-dev llvm-18-runtime clang-18 clang-tools-18 lld-18 libpolly-18-dev libmlir-18-dev mlir-18-tools | ||
- name: "Download and run cargo-udeps" | ||
- name: Download and run cargo-udeps | ||
run: | | ||
wget -O - -c https://github.com/est31/cargo-udeps/releases/download/v0.1.45/cargo-udeps-v0.1.45-x86_64-unknown-linux-gnu.tar.gz | tar -xz | ||
cargo-udeps-*/cargo-udeps udeps --all-targets | ||
|
@@ -142,7 +142,7 @@ jobs: | |
uses: dtolnay/[email protected] | ||
- name: Retreive cached dependecies | ||
uses: Swatinem/rust-cache@v2 | ||
- name: add llvm deb repository | ||
- name: Add LLVM Debian repository | ||
uses: myci-actions/add-deb-repo@11 | ||
with: | ||
repo: deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy-18 main | ||
|
@@ -163,5 +163,5 @@ jobs: | |
cd cairo_native | ||
make runtime | ||
echo "CAIRO_NATIVE_RUNTIME_LIBRARY=$(pwd)/libcairo_native_runtime.a" > $GITHUB_ENV | ||
- name: test | ||
- name: Test | ||
run: cargo test |