Skip to content

Commit

Permalink
Change windows CI to use the same bytecode directory as linux.
Browse files Browse the repository at this point in the history
  • Loading branch information
chriseth committed Jun 14, 2017
1 parent f008ddf commit a87b22c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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%
Expand Down
6 changes: 3 additions & 3 deletions scripts/bytecodecompare/storebytecode.bat
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ REM Copyright (c) 2017 solidity contributors.
REM ---------------------------------------------------------------------------

set CONFIGURATION=%1
set COMMIT=%2
set DIRECTORY=%2

mkdir bytecode
cd bytecode
Expand All @@ -33,8 +33,8 @@ git config user.name "travis"
git config user.email "[email protected]"
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."
Expand Down

0 comments on commit a87b22c

Please sign in to comment.