-
Notifications
You must be signed in to change notification settings - Fork 220
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Constructor Support for Solang Solidity Contracts on Soroban (#1674)
- Loading branch information
1 parent
ef9e5fd
commit de4fc34
Showing
10 changed files
with
48 additions
and
45 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
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 |
---|---|---|
|
@@ -63,7 +63,7 @@ jobs: | |
- name: Install Rust | ||
uses: dtolnay/rust-toolchain@master | ||
with: | ||
toolchain: 1.75.0 | ||
toolchain: 1.81.0 | ||
components: | | ||
llvm-tools | ||
clippy | ||
|
@@ -120,7 +120,7 @@ jobs: | |
run: | | ||
sudo apt-get update | ||
sudo apt-get install -y gcc g++ make | ||
- uses: dtolnay/rust-toolchain@1.75.0 | ||
- uses: dtolnay/rust-toolchain@1.81.0 | ||
- 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 | ||
- name: Extract LLVM | ||
|
@@ -153,7 +153,7 @@ jobs: | |
# Use C:\ as D:\ might run out of space | ||
- name: "Use C: for rust temporary files" | ||
run: echo "CARGO_TARGET_DIR=C:\target" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf8 -Append | ||
- uses: dtolnay/rust-toolchain@1.75.0 | ||
- uses: dtolnay/rust-toolchain@1.81.0 | ||
with: | ||
components: clippy | ||
# 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 | ||
with: | ||
submodules: recursive | ||
- uses: dtolnay/rust-toolchain@1.75.0 | ||
- uses: dtolnay/rust-toolchain@1.81.0 | ||
- 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 | ||
- name: Extract LLVM | ||
|
@@ -205,7 +205,7 @@ jobs: | |
uses: actions/checkout@v4 | ||
with: | ||
submodules: recursive | ||
- uses: dtolnay/rust-toolchain@1.75.0 | ||
- uses: dtolnay/rust-toolchain@1.81.0 | ||
- 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 | ||
- name: Extract LLVM | ||
|
@@ -267,7 +267,7 @@ jobs: | |
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: '16' | ||
- uses: dtolnay/rust-toolchain@1.75.0 | ||
- uses: dtolnay/rust-toolchain@1.81.0 | ||
- name: Setup yarn | ||
run: npm install -g yarn | ||
- uses: actions/[email protected] | ||
|
@@ -318,7 +318,7 @@ jobs: | |
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: '16' | ||
- uses: dtolnay/rust-toolchain@1.75.0 | ||
- uses: dtolnay/rust-toolchain@1.81.0 | ||
- uses: actions/[email protected] | ||
with: | ||
name: solang-linux-x86-64 | ||
|
@@ -329,7 +329,7 @@ jobs: | |
echo "$(pwd)/bin" >> $GITHUB_PATH | ||
- name: Install Soroban | ||
run: cargo install --locked soroban-cli --version 21.0.0-rc.1 | ||
run: cargo install --locked soroban-cli --version 22.0.0 | ||
- name: Add cargo install location to PATH | ||
run: echo "$HOME/.cargo/bin" >> $GITHUB_PATH | ||
- run: npm install | ||
|
@@ -360,7 +360,7 @@ jobs: | |
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: '16' | ||
- uses: dtolnay/rust-toolchain@1.75.0 | ||
- uses: dtolnay/rust-toolchain@1.81.0 | ||
- uses: actions/[email protected] | ||
with: | ||
name: solang-linux-x86-64 | ||
|
@@ -537,7 +537,7 @@ jobs: | |
- name: Install Rust | ||
uses: dtolnay/rust-toolchain@master | ||
with: | ||
toolchain: 1.75.0 | ||
toolchain: 1.81.0 | ||
components: llvm-tools | ||
- name: Install cargo-llvm-cov | ||
uses: taiki-e/install-action@cargo-llvm-cov | ||
|
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
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
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
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
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
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
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
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