|
@@ -19,7 +19,7 @@ jobs:
|
|
|
lints:
|
|
lints:
|
|
|
name: Lints
|
|
name: Lints
|
|
|
runs-on: solang-ubuntu-latest
|
|
runs-on: solang-ubuntu-latest
|
|
|
- container: ghcr.io/hyperledger/solang-llvm:ci
|
|
|
|
|
|
|
+ container: ghcr.io/hyperledger/solang-llvm:ci-2
|
|
|
steps:
|
|
steps:
|
|
|
- name: Checkout sources
|
|
- name: Checkout sources
|
|
|
uses: actions/checkout@v3
|
|
uses: actions/checkout@v3
|
|
@@ -59,7 +59,7 @@ jobs:
|
|
|
linux-x86-64:
|
|
linux-x86-64:
|
|
|
name: Linux x86-64
|
|
name: Linux x86-64
|
|
|
runs-on: solang-ubuntu-latest
|
|
runs-on: solang-ubuntu-latest
|
|
|
- container: ghcr.io/hyperledger/solang-llvm:ci
|
|
|
|
|
|
|
+ container: ghcr.io/hyperledger/solang-llvm:ci-2
|
|
|
steps:
|
|
steps:
|
|
|
- name: Checkout sources
|
|
- name: Checkout sources
|
|
|
uses: actions/checkout@v3
|
|
uses: actions/checkout@v3
|
|
@@ -80,7 +80,7 @@ jobs:
|
|
|
name: Linux Arm
|
|
name: Linux Arm
|
|
|
runs-on: linux-arm64
|
|
runs-on: linux-arm64
|
|
|
if: ${{ github.repository_owner == 'hyperledger' }}
|
|
if: ${{ github.repository_owner == 'hyperledger' }}
|
|
|
- container: ghcr.io/hyperledger/solang-llvm:ci
|
|
|
|
|
|
|
+ container: ghcr.io/hyperledger/solang-llvm:ci-2
|
|
|
steps:
|
|
steps:
|
|
|
- name: Checkout sources
|
|
- name: Checkout sources
|
|
|
uses: actions/checkout@v3
|
|
uses: actions/checkout@v3
|
|
@@ -106,7 +106,7 @@ jobs:
|
|
|
with:
|
|
with:
|
|
|
submodules: recursive
|
|
submodules: recursive
|
|
|
- name: Download LLVM
|
|
- name: Download LLVM
|
|
|
- run: curl -sSL -o c:\llvm.zip https://github.com/hyperledger/solang-llvm/releases/download/llvm15-0/llvm15.0-win.zip
|
|
|
|
|
|
|
+ run: curl -sSL -o c:\llvm.zip https://github.com/hyperledger/solang-llvm/releases/download/llvm15-1/llvm15.0-win.zip
|
|
|
- name: Extract LLVM
|
|
- name: Extract LLVM
|
|
|
run: unzip c:\llvm.zip -d c:/
|
|
run: unzip c:\llvm.zip -d c:/
|
|
|
- name: Add LLVM to Path
|
|
- name: Add LLVM to Path
|
|
@@ -137,7 +137,7 @@ jobs:
|
|
|
submodules: recursive
|
|
submodules: recursive
|
|
|
- uses: dtolnay/rust-toolchain@1.65.0
|
|
- uses: dtolnay/rust-toolchain@1.65.0
|
|
|
- name: Get LLVM
|
|
- name: Get LLVM
|
|
|
- run: curl -L --output llvm15.0-mac-arm.tar.xz https://github.com/hyperledger/solang-llvm/releases/download/llvm15-0/llvm15.0-mac-arm.tar.xz
|
|
|
|
|
|
|
+ run: curl -sSL --output llvm15.0-mac-arm.tar.xz https://github.com/hyperledger/solang-llvm/releases/download/llvm15-1/llvm15.0-mac-arm.tar.xz
|
|
|
- name: Extract LLVM
|
|
- name: Extract LLVM
|
|
|
run: tar Jxf llvm15.0-mac-arm.tar.xz
|
|
run: tar Jxf llvm15.0-mac-arm.tar.xz
|
|
|
- name: Add LLVM to Path
|
|
- name: Add LLVM to Path
|
|
@@ -161,7 +161,7 @@ jobs:
|
|
|
submodules: recursive
|
|
submodules: recursive
|
|
|
- uses: dtolnay/rust-toolchain@1.65.0
|
|
- uses: dtolnay/rust-toolchain@1.65.0
|
|
|
- name: Get LLVM
|
|
- name: Get LLVM
|
|
|
- run: wget -q -O llvm15.0-mac-intel.tar.xz https://github.com/hyperledger/solang-llvm/releases/download/llvm15-0/llvm15.0-mac-intel.tar.xz
|
|
|
|
|
|
|
+ run: wget -q -O llvm15.0-mac-intel.tar.xz https://github.com/hyperledger/solang-llvm/releases/download/llvm15-1/llvm15.0-mac-intel.tar.xz
|
|
|
- name: Extract LLVM
|
|
- name: Extract LLVM
|
|
|
run: tar Jxf llvm15.0-mac-intel.tar.xz
|
|
run: tar Jxf llvm15.0-mac-intel.tar.xz
|
|
|
- name: Add LLVM to Path
|
|
- name: Add LLVM to Path
|
|
@@ -216,7 +216,7 @@ jobs:
|
|
|
anchor:
|
|
anchor:
|
|
|
name: Anchor Integration test
|
|
name: Anchor Integration test
|
|
|
runs-on: solang-ubuntu-latest
|
|
runs-on: solang-ubuntu-latest
|
|
|
- container: ghcr.io/hyperledger/solang-llvm:ci
|
|
|
|
|
|
|
+ container: ghcr.io/hyperledger/solang-llvm:ci-2
|
|
|
needs: linux-x86-64
|
|
needs: linux-x86-64
|
|
|
steps:
|
|
steps:
|
|
|
- name: Checkout sources
|
|
- name: Checkout sources
|
|
@@ -263,7 +263,7 @@ jobs:
|
|
|
solana:
|
|
solana:
|
|
|
name: Solana Integration test
|
|
name: Solana Integration test
|
|
|
runs-on: solang-ubuntu-latest
|
|
runs-on: solang-ubuntu-latest
|
|
|
- container: ghcr.io/hyperledger/solang-llvm:ci
|
|
|
|
|
|
|
+ container: ghcr.io/hyperledger/solang-llvm:ci-2
|
|
|
needs: linux-x86-64
|
|
needs: linux-x86-64
|
|
|
steps:
|
|
steps:
|
|
|
- name: Checkout sources
|
|
- name: Checkout sources
|