Skip to content

Commit

Permalink
ci
Browse files Browse the repository at this point in the history
Signed-off-by: xermicus <[email protected]>
  • Loading branch information
xermicus committed May 24, 2024
1 parent 1e62893 commit f9670e2
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,29 +16,29 @@ jobs:

steps:
- uses: actions/checkout@v4

- name: Install solc
run: |
mkdir -p solc
curl -sSL --output solc/solc https://github.com/ethereum/solidity/releases/download/v0.8.25/solc-static-linux
chmod +x solc/solc
echo "$(pwd)/solc/" >> $GITHUB_PATH
- name: solc version
run: solc --version
- name: Install LLVM
run: curl -sSL --output llvm.tar.xz https://github.com/llvm/llvm-project/releases/download/llvmorg-18.1.4/clang+llvm-18.1.4-x86_64-linux-gnu-ubuntu-18.04.tar.xz
- name: Extract LLVM
run: |
curl -sSL --output llvm.tar.xz https://github.com/llvm/llvm-project/releases/download/llvmorg-18.1.4/clang+llvm-18.1.4-x86_64-linux-gnu-ubuntu-18.04.tar.xz
tar Jxf llvm.tar.xz
mv clang+llvm-18.1.4-x86_64-linux-gnu-ubuntu-18.04 llvm18/
- name: Add LLVM to PATH
run: echo "$(pwd)/llvm18/bin" >> $GITHUB_PATH
- name: apt dependencies
echo "$(pwd)/llvm18/bin" >> $GITHUB_PATH
- name: Install apt dependencies
run: sudo apt update && sudo apt install -y libtinfo5
- name: Perm
run: chmod +x "$(pwd)/llvm18/bin/llvm-config"

- name: Format
run: make format

- name: Clippy
run: make clippy

- name: Integration
run: make test-integration
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
![CI](https://github.com/xermicus/revive/actions/workflows/rust.yml/badge.svg)

# revive

YUL and EVM bytecode recompiler to LLVM, targetting RISC-V on PolkaVM.
Expand Down

0 comments on commit f9670e2

Please sign in to comment.