Skip to content

Commit

Permalink
[ci] added ubuntu-18.04 to the list of CI targets
Browse files Browse the repository at this point in the history
  • Loading branch information
hugsy committed Aug 25, 2021
1 parent 5e5c638 commit 4f9bd61
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/run-tests.yml
Expand Up @@ -14,7 +14,7 @@ on:
jobs:
build:
name: "Run Unit tests"
runs-on: [ubuntu-20.04]
runs-on: [ubuntu-20.04, ubuntu-18.04]
defaults:
run:
shell: bash
Expand Down
2 changes: 1 addition & 1 deletion gef.py
Expand Up @@ -822,7 +822,7 @@ def align_data_address(self):
else:
# Generic case:
# https://elixir.bootlin.com/glibc/glibc-2.26/source/sysdeps/generic/malloc-alignment.h#L22
__alignof__long_double = int(safe_parse_and_eval("_Alignof(long double)"))
__alignof__long_double = int(safe_parse_and_eval("_Alignof(long double)") or 0x10)
malloc_alignment = max(__alignof__long_double, 2 * self.ptrsize)

ceil = lambda n: int(-1 * n // 1 * -1)
Expand Down

0 comments on commit 4f9bd61

Please sign in to comment.