Appveyor is timing out
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Appveyor is timing out
Lately Appveyor is timing out due to the 1 hour limit:
https://ci.appveyor.com/project/yorikva ... 2kalvy9tg0
https://ci.appveyor.com/project/yorikva ... s4ytdwwo0y
I have started doing some early trials with Travis CI for Windows, which so far have not been fruitful:
https://github.com/FreeCAD/FreeCAD/pull/2098
https://ci.appveyor.com/project/yorikva ... 2kalvy9tg0
https://ci.appveyor.com/project/yorikva ... s4ytdwwo0y
I have started doing some early trials with Travis CI for Windows, which so far have not been fruitful:
https://github.com/FreeCAD/FreeCAD/pull/2098
Re: Appveyor is timing out
It seems Travis is still in it's infancy for a project like FreeCAD
Using your latest https://github.com/FreeCAD/FreeCAD/blob ... s.yml#L218
I'm not sure of the environment on Travis, or AppVeyor for that matter. I run this script from the build directory for CMake locally.
Code: Select all
cmake -G "Visual Studio 15 2017 Win64" ^
-DFREECAD_LIBPACK_DIR="C:\Users\USERNAME\Downloads\FreeCADLibs_12.1.2_x64_VC15" ^
-DBUILD_QT5=TRUE ^
-DCMAKE_BUILD_TYPE=Release ^
C:\Users\USERNAME\GitHub\FreeCAD
Line 67, I think the language should be cpp, but some duckduckgo suggest maybe BASH works?
Line 70, I think can be omitted, I think on Win Travis doesn't have a built in Python yet, and FreeCAd will use the Python from the Libpack anyway?
Line 218 windows) should be "windows") ?
Everything is a ? because I don't know either. I noticed from the builds of your last commit there is not a Travis error, does this mean that the travis.yaml wasn't parsed and we don't even get error messages?
"fight the good fight"
Re: Appveyor is timing out
Hi there!
About Travis, I have read the manual, but there are a lot of edges as you say. Most of the information I got, I found it in the forums of travis.
It can be, but Appveyor not being an option due to the 60 minutes timeout, there are not many alternatives for a big project...
The AppVeyor config of that branch for MSVC2017 appears to build... but unsurprisingly it times out.sgrogan wrote: ↑Wed Apr 24, 2019 9:51 pm Using your latest https://github.com/FreeCAD/FreeCAD/blob ... s.yml#L218
I'm not sure of the environment on Travis, or AppVeyor for that matter. I run this script from the build directory for CMake locally.
About Travis, I have read the manual, but there are a lot of edges as you say. Most of the information I got, I found it in the forums of travis.
I have no idea. I think this one would go thru experimentation... if we get to have a result...
All the "working" examples I found on the Internet are bash based. I read reports saying "cpp" would not work. However, what did not work in December 2018 maybe now works...
Ah, Ok. This one I just copied
Good catch!
I have no clue what happened. It looked like it did not start. I will correct the "windows" error and remove the Python thingy and push a modification... let's cross fingers...
Re: Appveyor is timing out
google search:
filetype:yml "os: windows" script
some food:
https://github.com/cmuratori/meow_hash/ ... travis.yml
https://github.com/Tracktion/tracktion_ ... travis.yml
https://github.com/IntelRealSense/libre ... travis.yml
One working AppVeyor for comparison:
https://github.com/FreeCAD/FreeCAD/blob ... pveyor.yml
filetype:yml "os: windows" script
some food:
https://github.com/cmuratori/meow_hash/ ... travis.yml
https://github.com/Tracktion/tracktion_ ... travis.yml
https://github.com/IntelRealSense/libre ... travis.yml
One working AppVeyor for comparison:
https://github.com/FreeCAD/FreeCAD/blob ... pveyor.yml
Re: Appveyor is timing out
This (see config in the config tab):
https://travis-ci.org/FreeCAD/FreeCAD/jobs/524582486
and this:
https://travis-ci.org/FreeCAD/FreeCAD/jobs/524591078
Tomorrow more...
Re: Appveyor is timing out
Good links.
I got thru CMake by setting the path to python.exe in the libpack. https://travis-ci.org/FreeCAD/FreeCAD/j ... 62733#L493
I'm working here: https://github.com/sgrogan/FreeCAD/tree/travis-win
I think we need to move this to the "windows") block from the install block, I will try.
EDIT: Now I'm butting my head against the OSX/Linux builds. I think some global stuff needs to be moved to the OS/Linux specific blocks?
More tomorrow.
"fight the good fight"
Re: Appveyor is timing out
I worked further on your output.sgrogan wrote: ↑Thu Apr 25, 2019 9:33 pmGood links.I got thru CMake by setting the path to python.exe in the libpack. https://travis-ci.org/FreeCAD/FreeCAD/j ... 62733#L493
I'm working here: https://github.com/sgrogan/FreeCAD/tree/travis-win
I think we need to move this to the "windows") block from the install block, I will try.
EDIT: Now I'm butting my head against the OSX/Linux builds. I think some global stuff needs to be moved to the OS/Linux specific blocks?
More tomorrow.
I set variables around so as to use the same make block.
I am trying the msbuild.exe command after the successful make. Maybe I am missing creating a "bin" file I am not sure, but Appveyor creates a bin and copies the bin content to freecad. I am not sure if this is necessary or not...
More tomorrow
Re: Appveyor is timing out
I learnt that it is possible to cancel only some build in travis for test purposes.
By clicking on the icon at the end of the line, it is possible to cancel the builds for linux/pivy... and only leave the windows one running. The advantage being not overloading travis for nothing.
I have been trying this for the Windows tests. ATM Travis is stuck and I cannot continue with the trials.
I found this:
https://github.com/Tracktion/tracktion_ ... travis.yml
https://github.com/merbanan/rtl_433/blo ... travis.yml
Re: Appveyor is timing out
This looks like a little bit of progress, but is puzzling me, which one is the other "project"?
Microsoft (R) Build Engine version 15.9.20+g88f5fadfbe for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.
MSBUILD : error MSB1008: Only one project can be specified.
Switch: FreeCAD_Trunk.sln
For switch syntax, type "MSBuild /help"
Code: Select all
The command "if [ "${TRAVIS_OS_NAME}" == "windows" ]; then
MSBuild.exe /m FreeCAD_Trunk.sln
else
sudo make -j2 install
fi
" exited with 1.
https://travis-ci.org/FreeCAD/FreeCAD/jobs/525275062
Re: Appveyor is timing out
It is building:
https://travis-ci.org/FreeCAD/FreeCAD/b ... tification
about ccache, it appears to be one independent cache per matrix generation.