-
Notifications
You must be signed in to change notification settings - Fork 221
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Lucas Steuernagel <[email protected]>
- Loading branch information
Showing
1 changed file
with
11 additions
and
11 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -80,10 +80,10 @@ jobs: | |
pwd | ||
env: | ||
RUSTFLAGS: -C instrument-coverage -C llvm-args=--instrprof-atomic-counter-update-all --cfg=coverage --cfg=trybuild_no_target | ||
LLVM_PROFILE_FILE: /home/runner/work/solang/solang/target/solang-%p-%10m.profraw | ||
LLVM_PROFILE_FILE: ${{ github.workspace }}/target/solang-%p-%10m.profraw | ||
CARGO_INCREMENTAL: 0 | ||
CARGO_LLVM_COV: 1 | ||
CARGO_LLVM_COV_TARGET_DIR: /home/runner/work/solang/solang/target | ||
CARGO_LLVM_COV_TARGET_DIR: ${{ github.workspace }}/target | ||
- name: Upload binary | ||
uses: actions/[email protected] | ||
with: | ||
|
@@ -252,7 +252,7 @@ jobs: | |
container: ghcr.io/hyperledger/solang-llvm:ci-5 | ||
needs: linux-x86-64 | ||
env: | ||
LLVM_PROFILE_FILE: /home/runner/work/solang/solang/target/solang-%p-%10m.profraw | ||
LLVM_PROFILE_FILE: ${{ github.workspace }}/target/solang-%p-%10m.profraw | ||
steps: | ||
- name: Checkout sources | ||
uses: actions/checkout@v3 | ||
|
@@ -309,7 +309,7 @@ jobs: | |
container: ghcr.io/hyperledger/solang-llvm:ci-5 | ||
needs: linux-x86-64 | ||
env: | ||
LLVM_PROFILE_FILE: /home/runner/work/solang/solang/target/solang-%p-%10m.profraw | ||
LLVM_PROFILE_FILE: ${{ github.workspace }}/target/solang-%p-%10m.profraw | ||
steps: | ||
- name: Checkout sources | ||
uses: actions/checkout@v3 | ||
|
@@ -352,7 +352,7 @@ jobs: | |
runs-on: solang-ubuntu-latest | ||
needs: linux-x86-64 | ||
env: | ||
LLVM_PROFILE_FILE: /home/runner/work/solang/solang/target/solang-%p-%10m.profraw | ||
LLVM_PROFILE_FILE: ${{ github.workspace }}/target/solang-%p-%10m.profraw | ||
steps: | ||
- name: Checkout sources | ||
uses: actions/checkout@v3 | ||
|
@@ -384,9 +384,6 @@ jobs: | |
- name: Deploy and test contracts | ||
run: npm run test | ||
working-directory: ./integration/polkadot | ||
- name: cleanup | ||
if: always() | ||
run: docker kill ${{steps.substrate.outputs.id}} | ||
- name: Compress test coverage files | ||
run: tar -czvf polkadot-tests.tar.gz *.profraw | ||
working-directory: ./target | ||
|
@@ -395,14 +392,17 @@ jobs: | |
with: | ||
name: polkadot-tests.tar.gz | ||
path: ./target/polkadot-tests.tar.gz | ||
- name: cleanup | ||
if: always() | ||
run: docker kill ${{steps.substrate.outputs.id}} | ||
|
||
|
||
polkadot-subxt: | ||
name: Polkadot Integration test with subxt | ||
runs-on: ubuntu-22.04 | ||
needs: linux-x86-64 | ||
env: | ||
LLVM_PROFILE_FILE: /home/runner/work/solang/solang/target/solang-%p-%10m.profraw | ||
LLVM_PROFILE_FILE: ${{ github.workspace }}/target/solang-%p-%10m.profraw | ||
steps: | ||
- name: Checkout sources | ||
uses: actions/checkout@v4 | ||
|
@@ -436,15 +436,15 @@ jobs: | |
- name: Upload test coverage files | ||
uses: actions/[email protected] | ||
with: | ||
name: polkadto-subxt-tests.tar.gz | ||
name: polkado-subxt-tests.tar.gz | ||
path: ./target/polkadot-subxt-tests.tar.gz | ||
|
||
vscode: | ||
name: Visual Code Extension | ||
runs-on: solang-ubuntu-latest | ||
needs: linux-x86-64 | ||
env: | ||
LLVM_PROFILE_FILE: /home/runner/work/solang/solang/target/solang-%p-%10m.profraw | ||
LLVM_PROFILE_FILE: ${{ github.workspace }}/target/solang-%p-%10m.profraw | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|