aave-protocol-v2/.gitlab-ci.yml

44 lines
2.1 KiB
YAML
Raw Normal View History

2020-08-21 12:11:01 +00:00
stages:
2020-11-20 10:40:01 +00:00
- checks
2020-08-21 12:11:01 +00:00
test:
2020-11-20 10:40:01 +00:00
stage: checks
2020-08-21 12:11:01 +00:00
tags:
- aave-build-runner
before_script:
- docker-compose -p ${CI_JOB_ID} -f docker-compose.test.yml build
2020-08-21 12:11:01 +00:00
script:
- docker-compose -p ${CI_JOB_ID} -f docker-compose.test.yml run contracts-env npm run ci:test
2020-08-21 12:11:01 +00:00
after_script:
- docker-compose -p ${CI_JOB_ID} -f docker-compose.test.yml run contracts-env npm run ci:clean
- docker-compose -p ${CI_JOB_ID} -f docker-compose.test.yml down
2020-11-20 10:40:01 +00:00
deploy-mainnet-fork:
2020-11-23 15:39:22 +00:00
tags:
- aave-build-runner
2020-11-20 10:40:01 +00:00
stage: checks
before_script:
- docker-compose -p ${CI_JOB_ID} -f docker-compose.test.yml build
script:
- docker-compose -p ${CI_JOB_ID} -f docker-compose.test.yml run contracts-env npm run aave:fork:main
after_script:
- docker-compose -p ${CI_JOB_ID} -f docker-compose.test.yml run contracts-env npm run ci:clean
- docker-compose -p ${CI_JOB_ID} -f docker-compose.test.yml down
2020-11-01 16:34:06 +00:00
certora-test:
stage: checks
2020-11-01 18:07:48 +00:00
image: python:latest
2020-11-01 16:34:06 +00:00
before_script:
2020-11-01 18:01:52 +00:00
- apt-get update || apt-get update
- apt-get install -y software-properties-common
2020-11-01 16:34:06 +00:00
- pip3 install certora-cli-beta==0.4.1
2020-11-22 20:43:01 +00:00
- wget https://github.com/ethereum/solidity/releases/download/v0.6.12/solc-static-linux
2020-11-01 16:34:06 +00:00
- chmod +x solc-static-linux
2020-11-01 18:01:52 +00:00
- mv solc-static-linux /usr/bin/solc
2020-11-01 19:11:47 +00:00
- export PATH=$PATH:/usr/bin/solc/solc-static-linux
2020-11-01 16:34:06 +00:00
script:
2020-11-22 21:24:26 +00:00
- certoraRun specs/harness/StableDebtTokenHarness.sol:StableDebtTokenHarness --verify StableDebtTokenHarness:specs/StableDebtToken.spec --settings -assumeUnwindCond,-b=4 --cache StableDebtToken --staging
2020-11-24 13:02:57 +00:00
- certoraRun specs/harness/UserConfigurationHarness.sol --verify UserConfigurationHarness:specs/UserConfiguration.spec --solc_args '--optimize' --settings -useBitVectorTheory --staging
2020-11-24 13:48:09 +00:00
- certoraRun contracts/protocol/tokenization/VariableDebtToken.sol:VariableDebtToken specs/harness/LendingPoolHarnessForVariableDebtToken.sol --solc_args '--optimize' --link VariableDebtToken:POOL=LendingPoolHarnessForVariableDebtToken --verify VariableDebtToken:specs/VariableDebtToken.spec --settings -assumeUnwindCond,-useNonLinearArithmetic,-b=4 --cache VariableDebtToken --staging
2020-11-01 16:34:06 +00:00