1010 LLVM_PROFILE_FILE : ${{ github.workspace }}/target/solang-%p-%10m.profraw
1111
1212jobs :
13- repolinter :
14- name : Repolinter
15- runs-on : solang-ubuntu-latest
16- # spdx runs on python 3.10 but not any later versions
17- container : ubuntu:22.04
18- steps :
19- - name : Install Python and npm
20- run : |
21- apt-get update
22- apt-get install -y python3 git npm
23- - name : Checkout sources
24- uses : actions/checkout@v4
25- - name : Run repolinter
26- run : npx repolinter --rulesetUrl https://raw.githubusercontent.com/hyperledger-labs/hyperledger-community-management-tools/master/repo_structure/repolint.json
27- - uses : enarx/spdx@master
28- with :
29- licenses : Apache-2.0
30-
3113 docs :
3214 name : Docs
3315 runs-on : solang-ubuntu-latest
6951 - name : Install Rust
7052 uses : dtolnay/rust-toolchain@master
7153 with :
72- toolchain : 1.81 .0
54+ toolchain : 1.82 .0
7355 components : |
7456 llvm-tools
7557 clippy
@@ -126,7 +108,7 @@ jobs:
126108 run : |
127109 sudo apt-get update
128110 sudo apt-get install -y gcc g++ make
129- - uses : dtolnay/rust-toolchain@1.81 .0
111+ - uses : dtolnay/rust-toolchain@1.82 .0
130112 - name : Get LLVM
131113 run : curl -sSL --output llvm16.0-linux-arm64.tar.xz https://github.com/hyperledger-solang/solang-llvm/releases/download/llvm16-0/llvm16.0-linux-arm64.tar.xz
132114 - name : Extract LLVM
@@ -159,7 +141,7 @@ jobs:
159141 # Use C:\ as D:\ might run out of space
160142 - name : " Use C: for rust temporary files"
161143 run : echo "CARGO_TARGET_DIR=C:\target" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf8 -Append
162- - uses : dtolnay/rust-toolchain@1.81 .0
144+ - uses : dtolnay/rust-toolchain@1.82 .0
163145 with :
164146 components : clippy
165147 # We run clippy on Linux in the lint job above, but this does not check #[cfg(windows)] items
@@ -185,7 +167,7 @@ jobs:
185167 uses : actions/checkout@v4
186168 with :
187169 submodules : recursive
188- - uses : dtolnay/rust-toolchain@1.81 .0
170+ - uses : dtolnay/rust-toolchain@1.82 .0
189171 - name : Get LLVM
190172 run : curl -sSL --output llvm16.0-mac-arm.tar.xz https://github.com/hyperledger-solang/solang-llvm/releases/download/llvm16-0/llvm16.0-mac-arm.tar.xz
191173 - name : Extract LLVM
@@ -211,7 +193,7 @@ jobs:
211193 uses : actions/checkout@v4
212194 with :
213195 submodules : recursive
214- - uses : dtolnay/rust-toolchain@1.81 .0
196+ - uses : dtolnay/rust-toolchain@1.82 .0
215197 - name : Get LLVM
216198 run : wget -q -O llvm16.0-mac-intel.tar.xz https://github.com/hyperledger-solang/solang-llvm/releases/download/llvm16-0/llvm16.0-mac-intel.tar.xz
217199 - name : Extract LLVM
@@ -273,7 +255,7 @@ jobs:
273255 - uses : actions/setup-node@v4
274256 with :
275257 node-version : ' 16'
276- - uses : dtolnay/rust-toolchain@1.81 .0
258+ - uses : dtolnay/rust-toolchain@1.82 .0
277259 - name : Setup yarn
278260 run : npm install -g yarn
279261 - uses : actions/download-artifact@v4.1.8
@@ -324,7 +306,7 @@ jobs:
324306 - uses : actions/setup-node@v4
325307 with :
326308 node-version : ' 16'
327- - uses : dtolnay/rust-toolchain@1.81 .0
309+ - uses : dtolnay/rust-toolchain@1.82 .0
328310 with :
329311 target : wasm32-unknown-unknown
330312 - uses : actions/download-artifact@v4.1.8
@@ -371,7 +353,7 @@ jobs:
371353 - uses : actions/setup-node@v4
372354 with :
373355 node-version : ' 16'
374- - uses : dtolnay/rust-toolchain@1.81 .0
356+ - uses : dtolnay/rust-toolchain@1.82 .0
375357 - uses : actions/download-artifact@v4.1.8
376358 with :
377359 name : solang-linux-x86-64
@@ -548,7 +530,7 @@ jobs:
548530 - name : Install Rust
549531 uses : dtolnay/rust-toolchain@master
550532 with :
551- toolchain : 1.81 .0
533+ toolchain : 1.82 .0
552534 components : llvm-tools
553535 - name : Install cargo-llvm-cov
554536 uses : taiki-e/install-action@cargo-llvm-cov
0 commit comments