Skip to content

Commit

Permalink
fixup! Support for 32 bit linux builds and gcc 4.9
Browse files Browse the repository at this point in the history
  • Loading branch information
eakoli committed Jun 16, 2020
1 parent 44c22e7 commit 4c36603
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ stages:
matrix:
Linux (gcc 7, 32-bit):
vmImage: "ubuntu-18.04"
CC: gcc-7 -m32
CXX: g++-7 -m32
CC: gcc-7
CXX: g++-7
TEST_X86: 1
Linux (gcc 9):
vmImage: "ubuntu-latest"
Expand Down
2 changes: 2 additions & 0 deletions tests/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,8 @@ def cmake(cwd, targets, options=None):
configcmd.append("-D{}={}".format(key, value))
if sys.platform == "win32" and os.environ.get("TEST_X86"):
configcmd.append("-AWin32")
else if sys.platform == "linux" and os.environ.get("TEST_X86"):
configcmd.append("-DSENTRY_BUILD_FORCE32=ON")

cmakelists_dir = os.path.dirname(os.path.dirname(os.path.realpath(__file__)))
configcmd.append(cmakelists_dir)
Expand Down

0 comments on commit 4c36603

Please sign in to comment.