|
@@ -63,7 +63,7 @@ jobs:
|
|
|
- name: Install Rust
|
|
- name: Install Rust
|
|
|
uses: dtolnay/rust-toolchain@master
|
|
uses: dtolnay/rust-toolchain@master
|
|
|
with:
|
|
with:
|
|
|
- toolchain: 1.74.0
|
|
|
|
|
|
|
+ toolchain: 1.75.0
|
|
|
components: |
|
|
components: |
|
|
|
llvm-tools
|
|
llvm-tools
|
|
|
clippy
|
|
clippy
|
|
@@ -120,7 +120,7 @@ jobs:
|
|
|
run: |
|
|
run: |
|
|
|
sudo apt-get update
|
|
sudo apt-get update
|
|
|
sudo apt-get install -y gcc g++ make
|
|
sudo apt-get install -y gcc g++ make
|
|
|
- - uses: dtolnay/rust-toolchain@1.74.0
|
|
|
|
|
|
|
+ - uses: dtolnay/rust-toolchain@1.75.0
|
|
|
- name: Get LLVM
|
|
- name: Get LLVM
|
|
|
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
|
|
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
|
|
|
- name: Extract LLVM
|
|
- name: Extract LLVM
|
|
@@ -153,7 +153,7 @@ jobs:
|
|
|
# Use C:\ as D:\ might run out of space
|
|
# Use C:\ as D:\ might run out of space
|
|
|
- name: "Use C: for rust temporary files"
|
|
- name: "Use C: for rust temporary files"
|
|
|
run: echo "CARGO_TARGET_DIR=C:\target" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf8 -Append
|
|
run: echo "CARGO_TARGET_DIR=C:\target" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf8 -Append
|
|
|
- - uses: dtolnay/rust-toolchain@1.74.0
|
|
|
|
|
|
|
+ - uses: dtolnay/rust-toolchain@1.75.0
|
|
|
with:
|
|
with:
|
|
|
components: clippy
|
|
components: clippy
|
|
|
# We run clippy on Linux in the lint job above, but this does not check #[cfg(windows)] items
|
|
# We run clippy on Linux in the lint job above, but this does not check #[cfg(windows)] items
|
|
@@ -179,7 +179,7 @@ jobs:
|
|
|
uses: actions/checkout@v4
|
|
uses: actions/checkout@v4
|
|
|
with:
|
|
with:
|
|
|
submodules: recursive
|
|
submodules: recursive
|
|
|
- - uses: dtolnay/rust-toolchain@1.74.0
|
|
|
|
|
|
|
+ - uses: dtolnay/rust-toolchain@1.75.0
|
|
|
- name: Get LLVM
|
|
- name: Get LLVM
|
|
|
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
|
|
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
|
|
|
- name: Extract LLVM
|
|
- name: Extract LLVM
|
|
@@ -205,7 +205,7 @@ jobs:
|
|
|
uses: actions/checkout@v4
|
|
uses: actions/checkout@v4
|
|
|
with:
|
|
with:
|
|
|
submodules: recursive
|
|
submodules: recursive
|
|
|
- - uses: dtolnay/rust-toolchain@1.74.0
|
|
|
|
|
|
|
+ - uses: dtolnay/rust-toolchain@1.75.0
|
|
|
- name: Get LLVM
|
|
- name: Get LLVM
|
|
|
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
|
|
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
|
|
|
- name: Extract LLVM
|
|
- name: Extract LLVM
|
|
@@ -267,7 +267,7 @@ jobs:
|
|
|
- uses: actions/setup-node@v4
|
|
- uses: actions/setup-node@v4
|
|
|
with:
|
|
with:
|
|
|
node-version: '16'
|
|
node-version: '16'
|
|
|
- - uses: dtolnay/rust-toolchain@1.74.0
|
|
|
|
|
|
|
+ - uses: dtolnay/rust-toolchain@1.75.0
|
|
|
- name: Setup yarn
|
|
- name: Setup yarn
|
|
|
run: npm install -g yarn
|
|
run: npm install -g yarn
|
|
|
- uses: actions/download-artifact@v4.1.8
|
|
- uses: actions/download-artifact@v4.1.8
|
|
@@ -318,7 +318,7 @@ jobs:
|
|
|
- uses: actions/setup-node@v4
|
|
- uses: actions/setup-node@v4
|
|
|
with:
|
|
with:
|
|
|
node-version: '16'
|
|
node-version: '16'
|
|
|
- - uses: dtolnay/rust-toolchain@1.74.0
|
|
|
|
|
|
|
+ - uses: dtolnay/rust-toolchain@1.75.0
|
|
|
- uses: actions/download-artifact@v4.1.8
|
|
- uses: actions/download-artifact@v4.1.8
|
|
|
with:
|
|
with:
|
|
|
name: solang-linux-x86-64
|
|
name: solang-linux-x86-64
|
|
@@ -360,7 +360,7 @@ jobs:
|
|
|
- uses: actions/setup-node@v4
|
|
- uses: actions/setup-node@v4
|
|
|
with:
|
|
with:
|
|
|
node-version: '16'
|
|
node-version: '16'
|
|
|
- - uses: dtolnay/rust-toolchain@1.74.0
|
|
|
|
|
|
|
+ - uses: dtolnay/rust-toolchain@1.75.0
|
|
|
- uses: actions/download-artifact@v4.1.8
|
|
- uses: actions/download-artifact@v4.1.8
|
|
|
with:
|
|
with:
|
|
|
name: solang-linux-x86-64
|
|
name: solang-linux-x86-64
|
|
@@ -537,7 +537,7 @@ jobs:
|
|
|
- name: Install Rust
|
|
- name: Install Rust
|
|
|
uses: dtolnay/rust-toolchain@master
|
|
uses: dtolnay/rust-toolchain@master
|
|
|
with:
|
|
with:
|
|
|
- toolchain: 1.74.0
|
|
|
|
|
|
|
+ toolchain: 1.75.0
|
|
|
components: llvm-tools
|
|
components: llvm-tools
|
|
|
- name: Install cargo-llvm-cov
|
|
- name: Install cargo-llvm-cov
|
|
|
uses: taiki-e/install-action@cargo-llvm-cov
|
|
uses: taiki-e/install-action@cargo-llvm-cov
|