mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #2363 from ethereum/windows_bytecodedir
Change windows CI to use the same bytecode directory as linux.
This commit is contained in:
commit
1636602fc4
@ -65,7 +65,8 @@ build_script:
|
||||
- msbuild solidity.sln /p:Configuration=%CONFIGURATION% /m:%NUMBER_OF_PROCESSORS% /v:minimal
|
||||
- cd %APPVEYOR_BUILD_FOLDER%
|
||||
- scripts\release.bat %CONFIGURATION%
|
||||
- scripts\bytecodecompare\storebytecode.bat %CONFIGURATION% %APPVEYOR_REPO_COMMIT%
|
||||
- ps: $bytecodedir = git show -s --format="%cd-%H" --date=short
|
||||
- ps: scripts\bytecodecompare\storebytecode.bat $Env:CONFIGURATION $bytecodedir
|
||||
|
||||
test_script:
|
||||
- cd %APPVEYOR_BUILD_FOLDER%
|
||||
|
@ -20,7 +20,7 @@ REM Copyright (c) 2017 solidity contributors.
|
||||
REM ---------------------------------------------------------------------------
|
||||
|
||||
set CONFIGURATION=%1
|
||||
set COMMIT=%2
|
||||
set DIRECTORY=%2
|
||||
|
||||
mkdir bytecode
|
||||
cd bytecode
|
||||
@ -33,8 +33,8 @@ git config user.name "travis"
|
||||
git config user.email "chris@ethereum.org"
|
||||
git clean -f -d -x
|
||||
|
||||
mkdir %COMMIT%
|
||||
set REPORT=%COMMIT%/windows.txt
|
||||
if not exist %DIRECTORY% mkdir %DIRECTORY%
|
||||
set REPORT=%DIRECTORY%/windows.txt
|
||||
cp ../report.txt %REPORT%
|
||||
git add %REPORT%
|
||||
git commit -a -m "Added report."
|
||||
|
Loading…
Reference in New Issue
Block a user