test with Ubuntu 20.04, fix occ versions compatibility

This commit is contained in:
Matthias Hochsteger 2021-07-26 16:59:43 +02:00
parent d01bde60f6
commit e502eeee2f
2 changed files with 2 additions and 2 deletions

View File

@ -102,7 +102,7 @@ cleanup_win:
- ls
- docker info
variables:
UBUNTU_VERSION: "18.04"
UBUNTU_VERSION: "20.04"
build_ubuntu_debug:
<<: *ubuntu

View File

@ -20,7 +20,7 @@
#include <TDF_Attribute.hxx>
#include <Standard_GUID.hxx>
#if OCC_VERSION_MAJOR>=7 && OCC_VERSION_MINOR>=2
#if OCC_VERSION_MAJOR>=7 && OCC_VERSION_MINOR>=4
#define OCC_HAVE_HISTORY
#endif