[ci] added ubuntu-18.04 to the list of CI targets

This commit is contained in:
hugsy
2021-08-25 15:27:11 -07:00
parent 5e5c638c84
commit 4f9bd61623
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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
+1 -1
View File
@@ -822,7 +822,7 @@ class GlibcChunk:
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)