config.yml 18.0 KB
Newer Older
1
version: 2
2

3 4
jobs:

5
  macos-10.12-aat-fonts:
6
    macos:
7
      xcode: "9.2.0"
8 9 10 11
    steps:
      - checkout
      - run: brew update-reset
      - run: brew install wget pkg-config libtool ragel freetype glib cairo
12 13
      - run: ./autogen.sh --with-freetype --with-glib --with-gobject --with-cairo
      - run: make -j4
14 15
      - run: make check || .ci/fail.sh

16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
  # macos-llvm-gcc-4.2:
  #   macos:
  #     xcode: "8.3.3"
  #   steps:
  #     - checkout
  #     - run: brew update-reset
  #     - run: brew install wget pkg-config libtool ragel freetype glib cairo
  #     - run: wget https://packages.macports.org/llvm-gcc42/llvm-gcc42-2336.11_3+universal.darwin_15.i386-x86_64.tbz2 && tar zxvf llvm-gcc42-2336.11_3+universal.darwin_15.i386-x86_64.tbz2
  #     - run: CC=$PWD/opt/local/bin/llvm-gcc-4.2 CXX=$PWD/opt/local/bin/llvm-g++-4.2 ./autogen.sh --with-freetype --with-glib --with-gobject --with-cairo
  #     # Ignoring assembler complains, https://stackoverflow.com/a/39867021
  #     - run: make 2>&1 | grep -v -e '^/var/folders/*' -e '^[[:space:]]*\.section' -e '^[[:space:]]*\^[[:space:]]*~*'
  #     - run: make check || .ci/fail.sh

  # macos-notest-apple-gcc-i686-4.2:
  #   macos:
  #     xcode: "8.3.3"
  #   steps:
  #     - checkout
  #     - run: brew update-reset
  #     - run: brew install wget pkg-config libtool ragel
  #     - run: wget https://packages.macports.org/apple-gcc42/apple-gcc42-5666.3_15+universal.darwin_15.i386-x86_64.tbz2 && tar zxvf apple-gcc42-5666.3_15+universal.darwin_15.i386-x86_64.tbz2
  #     - run: CPP=$PWD/opt/local/bin/i686-apple-darwin15-cpp-apple-4.2.1 CC=$PWD/opt/local/bin/i686-apple-darwin15-gcc-apple-4.2.1 CXX=$PWD/opt/local/bin/i686-apple-darwin15-g++-apple-4.2.1 ./autogen.sh
  #     # Ignoring assembler complains, https://stackoverflow.com/a/39867021
  #     - run: make 2>&1 | grep -v -e '^/var/folders/*' -e '^[[:space:]]*\.section' -e '^[[:space:]]*\^[[:space:]]*~*'
40

41 42 43 44 45 46 47 48
  macos-notest-ios:
    macos:
      xcode: "10.0.0"
    steps:
      - checkout
      - run: brew update-reset
      - run: brew install cmake
      # not needed to be a framework but we like to test that also
49 50
      # TODO: wrong way of targeting iOS as it doesn't point to iOS headers thus building
      # CoreText support is not possible, after the fix feel free HB_IOS from CMake altogether
51
      - run: cmake -DBUILD_FRAMEWORK=ON -H. -Bbuild -GXcode -DHB_HAVE_CORETEXT=OFF -DHB_BUILD_SUBSET=OFF -DHB_BUILD_TESTS=OFF
52 53
      - run: cd build && xcodebuild -sdk iphoneos12.0 -configuration Release build -arch arm64

54
  distcheck:
55
    docker:
E
Ebrahim Byagowi 已提交
56
      - image: ubuntu:17.10
57 58
    steps:
      - checkout
59
      - run: apt update && apt install -y ninja-build binutils libtool autoconf automake make cmake gcc g++ pkg-config ragel gtk-doc-tools libfontconfig1-dev libfreetype6-dev libglib2.0-dev libcairo2-dev libicu-dev libgraphite2-dev python python-pip
60
      - run: pip install fonttools
K
Khaled Hosny 已提交
61
      - run: ./autogen.sh
62
      - run: make -j32
K
Khaled Hosny 已提交
63 64
      - run: make distcheck || .ci/fail.sh
      - run: rm -rf harfbuzz-*
E
Ebrahim Byagowi 已提交
65
      - run: make distdir && cd harfbuzz-* && cmake -DHB_CHECK=ON -Bbuild -H. -GNinja && ninja -Cbuild && CTEST_OUTPUT_ON_FAILURE=1 ninja -Cbuild test && ninja -Cbuild install
66

67
  alpine-O3-NOMMAP:
E
ebraminio 已提交
68
    docker:
69
      - image: alpine
E
ebraminio 已提交
70 71
    steps:
      - checkout
72
      - run: apk update && apk add ragel make pkgconfig libtool autoconf automake gettext gcc g++ glib-dev freetype-dev cairo-dev
73
      # C??FLAGS are not needed for a regular build
74
      - run: CFLAGS="-O3" CXXFLAGS="-O3 -DHB_NO_MMAP" ./autogen.sh
75
      - run: make -j32
K
Khaled Hosny 已提交
76
      - run: make check || .ci/fail.sh
E
ebraminio 已提交
77

78
  archlinux-debug-O0-py3:
E
ebraminio 已提交
79 80 81 82
    docker:
      - image: base/devel
    steps:
      - checkout
83 84
      - run: pacman --noconfirm -Syu freetype2 cairo icu gettext gobject-introspection gcc gcc-libs glib2 graphite pkg-config ragel python python-pip
      - run: pip install fonttools
85 86
      # C??FLAGS are not needed for a regular build
      - run: CFLAGS="-O0" CXXFLAGS="-O0" CPPFLAGS="-DHB_DEBUG" ./autogen.sh --with-freetype --with-glib --with-gobject --with-cairo --with-icu --with-graphite2
87
      - run: make -j32
K
Khaled Hosny 已提交
88
      - run: make check || .ci/fail.sh
E
ebraminio 已提交
89

90 91 92 93 94
  clang-O3-O0:
    docker:
      - image: multiarch/crossbuild
    steps:
      - checkout
95
      - run: apt update || true
96
      - run: apt install -y ragel libfreetype6-dev libfontconfig1-dev libglib2.0-dev libcairo2-dev libicu-dev libgraphite2-dev python python-pip
97
      - run: pip install fonttools
98
      - run: wget http://download.savannah.gnu.org/releases/freetype/freetype-2.9.tar.bz2 && tar xf freetype-2.9.tar.bz2 && cd freetype-2.9 && ./autogen.sh && ./configure && make -j32 && cd ..
99
      - run: CFLAGS="-O3" CXXFLAGS="-O3" CC=clang CXX=clang++ ./autogen.sh --with-freetype --with-fontconfig --with-glib --with-cairo --with-icu --with-graphite2
100
      - run: make -j32
101
      - run: LD_LIBRARY_PATH="$PWD/freetype-2.9/objs/.libs" make check || .ci/fail.sh
102
      - run: CFLAGS="-O0" CXXFLAGS="-O0" CC=clang CXX=clang++ ./autogen.sh --with-freetype --with-fontconfig --with-glib --with-cairo --with-icu --with-graphite2
103
      - run: make -j32
104 105
      - run: LD_LIBRARY_PATH="$PWD/freetype-2.9/objs/.libs" make check || .ci/fail.sh

106 107 108 109 110 111 112 113 114 115
  gcc-valgrind:
    docker:
      - image: ubuntu:18.10
    steps:
      - checkout
      - run: apt update || true
      - run: apt install -y gcc binutils libtool autoconf automake make pkg-config gtk-doc-tools ragel libfreetype6-dev libfontconfig1-dev libglib2.0-dev libcairo2-dev libicu-dev libgraphite2-dev python python-pip valgrind
      - run: pip install fonttools
      - run: ./autogen.sh --with-freetype --with-glib --with-cairo --with-icu --with-graphite2 --with-fontconfig
      - run: make -j32
E
Ebrahim Byagowi 已提交
116 117
      # run-shape-fuzzer-tests.py automatically runs valgrind if see available
      # but test/api runs it by request, we probably should normalize the approaches
118
      - run: RUN_VALGRIND=1 make check && make -Ctest/api check-valgrind || .ci/fail.sh
E
Ebrahim Byagowi 已提交
119 120
      # informational for now
      - run: make -Ctest/api check-symbols || true
121

122 123 124 125 126 127 128 129 130 131
  clang-everything:
    docker:
      - image: ubuntu:18.10
    steps:
      - checkout
      - run: apt update || true; apt install -y wget gnupg
      - run: wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add -
      - run: echo "deb http://apt.llvm.org/cosmic/ llvm-toolchain-cosmic main" > /etc/apt/sources.list.d/llvmdev.list
      - run: echo "deb-src http://apt.llvm.org/cosmic/ llvm-toolchain-cosmic main" > /etc/apt/sources.list.d/llvmdevsrc.list
      - run: apt update || true
132
      - run: apt install -y clang lld binutils libtool autoconf automake make pkg-config gtk-doc-tools ragel libfreetype6-dev libfontconfig1-dev libglib2.0-dev libcairo2-dev libicu-dev libgraphite2-dev python python-pip
133
      - run: pip install fonttools
134
      - run: CFLAGS="-Weverything -Wno-reserved-id-macro -Wno-conversion -Wno-padded -Wno-sign-conversion -Wno-cast-qual -Wno-documentation -Wno-documentation-unknown-command" CXXFLAGS="-Weverything -Wno-old-style-cast -Wno-documentation -Wno-documentation-unknown-command -Wno-c++98-compat -Wno-cast-qual -Wno-c++98-compat-pedantic -Wno-sign-conversion -Wno-padded -Wno-shorten-64-to-32 -Wno-reserved-id-macro -Wno-float-conversion -Wno-format-pedantic -Wno-shadow -Wno-conversion -Wno-zero-as-null-pointer-constant -Wno-missing-field-initializers -Wno-used-but-marked-unused -Wno-unused-macros -Wno-comma -Wno-float-equal -Wno-disabled-macro-expansion -Wno-weak-vtables -Wno-unused-parameter -Wno-covered-switch-default -Wno-unreachable-code" CC=clang CXX=clang++ ./autogen.sh --with-freetype --with-glib --with-cairo --with-icu --with-graphite2 --with-fontconfig
135 136
      - run: make -j32 CPPFLAGS="-Werror"
      - run: make check CPPFLAGS="-Werror" || .ci/fail.sh
137

138 139
  clang-asan:
    docker:
140
      - image: ubuntu:18.10
141 142
    steps:
      - checkout
143 144 145 146
      - run: apt update || true; apt install -y wget gnupg
      - run: wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add -
      - run: echo "deb http://apt.llvm.org/cosmic/ llvm-toolchain-cosmic main" > /etc/apt/sources.list.d/llvmdev.list
      - run: echo "deb-src http://apt.llvm.org/cosmic/ llvm-toolchain-cosmic main" > /etc/apt/sources.list.d/llvmdevsrc.list
147
      - run: apt update || true
148
      - run: apt install -y clang lld binutils libtool autoconf automake make pkg-config gtk-doc-tools ragel libfreetype6-dev libglib2.0-dev libcairo2-dev libicu-dev libgraphite2-dev python python-pip
149
      - run: pip install fonttools
150
      - run: CPPFLAGS="-fsanitize=address" LDFLAGS="-fsanitize=address -O1 -g -fno-omit-frame-pointer" CFLAGS="-fsanitize=address -O1 -g -fno-omit-frame-pointer" CXXFLAGS="-fsanitize=address -O1 -g -fno-omit-frame-pointer" LD=ld.lld CC=clang CXX=clang++ ./autogen.sh --with-freetype --with-glib --with-cairo --with-icu --with-graphite2
151
      - run: make -j32
152
      - run: make check || .ci/fail.sh | asan_symbolize | c++filt
153 154 155

  clang-msan:
    docker:
156
      - image: ubuntu:18.10
157 158
    steps:
      - checkout
159 160 161 162
      - run: apt update || true; apt install -y wget gnupg
      - run: wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add -
      - run: echo "deb http://apt.llvm.org/cosmic/ llvm-toolchain-cosmic main" > /etc/apt/sources.list.d/llvmdev.list
      - run: echo "deb-src http://apt.llvm.org/cosmic/ llvm-toolchain-cosmic main" > /etc/apt/sources.list.d/llvmdevsrc.list
163
      - run: apt update || true
164
      - run: apt install -y clang lld binutils libtool autoconf automake gtk-doc-tools gettext make pkg-config ragel libcairo2-dev libicu-dev libmount-dev libgraphite2-dev python python-pip
165
      - run: pip install fonttools
166
      - run: update-alternatives --install "/usr/bin/ld" "ld" "/usr/bin/ld.lld" 10
167
      - run: wget https://ftp.gnome.org/pub/gnome/sources/glib/2.58/glib-2.58.1.tar.xz && tar xf glib-2.58.1.tar.xz && cd glib-2.58.1 && ./autogen.sh --with-pcre CPPFLAGS="-fsanitize=memory" LDFLAGS="-fsanitize=memory" CFLAGS="-fsanitize=memory" CXXFLAGS="-fsanitize=memory" LD=ld.lld CC=clang CXX=clang++ && make -j32 && make install && cd ..
168
      - run: wget http://download.savannah.gnu.org/releases/freetype/freetype-2.9.tar.bz2 && tar xf freetype-2.9.tar.bz2 && cd freetype-2.9 && ./autogen.sh && ./configure CPPFLAGS="-fsanitize=memory" LDFLAGS="-fsanitize=memory -O1 -g -fno-omit-frame-pointer" CFLAGS="-fsanitize=memory -O1 -g -fno-omit-frame-pointer" CXXFLAGS="-fsanitize=memory -O1 -g -fno-omit-frame-pointer" LD=ld.lld CC=clang CXX=clang++ && make -j32 && make install && cd ..
169
      - run: CPPFLAGS="-fsanitize=memory -fsanitize-memory-track-origins" LDFLAGS="-fsanitize=memory -fsanitize-memory-track-origins -O1 -g -fno-omit-frame-pointer" CFLAGS="-fsanitize=memory -fsanitize-memory-track-origins -O1 -g -fno-omit-frame-pointer" CXXFLAGS="-fsanitize=memory -fsanitize-memory-track-origins -O1 -g -fno-omit-frame-pointer" LD=ld.lld CC=clang CXX=clang++ ./autogen.sh --with-freetype --with-glib --without-icu
170
      - run: make -j32 && MSAN_OPTIONS=exitcode=42 make check || .ci/fail.sh | asan_symbolize | c++filt
171 172 173

  clang-tsan:
    docker:
174
      - image: ubuntu:18.10
175 176
    steps:
      - checkout
177 178 179 180
      - run: apt update || true; apt install -y wget gnupg
      - run: wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add -
      - run: echo "deb http://apt.llvm.org/cosmic/ llvm-toolchain-cosmic main" > /etc/apt/sources.list.d/llvmdev.list
      - run: echo "deb-src http://apt.llvm.org/cosmic/ llvm-toolchain-cosmic main" > /etc/apt/sources.list.d/llvmdevsrc.list
181
      - run: apt update || true
182
      - run: apt install -y clang lld binutils libtool autoconf automake make pkg-config ragel libfreetype6-dev libglib2.0-dev libcairo2-dev libicu-dev libgraphite2-dev python python-pip
183
      - run: pip install fonttools
184
      - run: CPPFLAGS="-fsanitize=thread" LDFLAGS="-fsanitize=thread -O1 -g -fno-omit-frame-pointer" CFLAGS="-fsanitize=thread -O1 -g -fno-omit-frame-pointer" CXXFLAGS="-fsanitize=thread -O1 -g -fno-omit-frame-pointer" LD=ld.lld CC=clang CXX=clang++ ./autogen.sh --with-freetype --with-glib --with-cairo --with-icu --with-graphite2
185 186
      - run: make -j32
      - run: make check || .ci/fail.sh | asan_symbolize | c++filt
187 188 189

  clang-ubsan:
    docker:
190
      - image: ubuntu:18.10
191 192
    steps:
      - checkout
193 194 195 196
      - run: apt update || true; apt install -y wget gnupg
      - run: wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add -
      - run: echo "deb http://apt.llvm.org/cosmic/ llvm-toolchain-cosmic main" > /etc/apt/sources.list.d/llvmdev.list
      - run: echo "deb-src http://apt.llvm.org/cosmic/ llvm-toolchain-cosmic main" > /etc/apt/sources.list.d/llvmdevsrc.list
197
      - run: apt update || true
198
      - run: apt install -y clang lld binutils libtool autoconf automake make pkg-config ragel libfreetype6-dev libglib2.0-dev libcairo2-dev libicu-dev libgraphite2-dev python python-pip
199
      - run: pip install fonttools
200
      - run: CPPFLAGS="-fsanitize=undefined" LDFLAGS="-fsanitize=undefined -O1 -g -fno-omit-frame-pointer" CFLAGS="-fsanitize=undefined -O1 -g -fno-omit-frame-pointer" CXXFLAGS="-fsanitize=undefined -O1 -g -fno-omit-frame-pointer" LD=ld.lld CC=clang CXX=clang++ ./autogen.sh --with-freetype --with-glib --with-cairo --with-icu --with-graphite2
201
      - run: make -j32
202
      - run: make check || .ci/fail.sh | asan_symbolize | c++filt
203

204
  fedora-outoftreebuild:
E
ebraminio 已提交
205
    docker:
206
      - image: fedora
E
ebraminio 已提交
207 208
    steps:
      - checkout
209
      - run: dnf install -y pkg-config ragel gcc gcc-c++ automake autoconf libtool make which glib2-devel freetype-devel cairo-devel libicu-devel gobject-introspection-devel graphite2-devel redhat-rpm-config python || true
210
      - run: NOCONFIGURE=1 ./autogen.sh --with-freetype --with-glib --with-gobject --with-cairo --with-icu --with-graphite2
K
Khaled Hosny 已提交
211
      - run: mkdir build && cd build && ../configure && make && (make check || ../.ci/fail.sh)
E
ebraminio 已提交
212

213
  cmake-gcc:
214
    docker:
E
Ebrahim Byagowi 已提交
215
      - image: ubuntu:17.10
216 217
    steps:
      - checkout
218 219
      - run: apt update && apt install -y ninja-build binutils cmake gcc g++ pkg-config ragel gtk-doc-tools libfreetype6-dev libglib2.0-dev libcairo2-dev libicu-dev libgraphite2-dev python python-pip
      - run: pip install fonttools
220
      - run: cmake -DHB_CHECK=ON -Bbuild -H. -GNinja
K
Khaled Hosny 已提交
221
      - run: ninja -Cbuild
222
      - run: CTEST_OUTPUT_ON_FAILURE=1 ninja -Cbuild test
E
ebraminio 已提交
223
      - run: ninja -Cbuild install
224

225
  cmake-oracledeveloperstudio:
226
    docker:
227
      - image: fedora
228 229
    steps:
      - checkout
E
Ebrahim Byagowi 已提交
230
      - run: dnf install -y gcc ragel cmake make which glib2-devel freetype-devel cairo-devel libicu-devel graphite2-devel wget tar bzip2 python libnsl || true
231
      - run: wget http://$ODSUSER:$ODSPASS@behdad.org/harfbuzz-private/OracleDeveloperStudio12.6-linux-x86-bin.tar.bz2 && tar xf OracleDeveloperStudio12.6-linux-x86-bin.tar.bz2 --owner root --group root --no-same-owner
E
Ebrahim Byagowi 已提交
232
      - run: CC=/root/project/OracleDeveloperStudio12.6-linux-x86-bin/developerstudio12.6/bin/suncc CXX=/root/project/OracleDeveloperStudio12.6-linux-x86-bin/developerstudio12.6/bin/sunCC cmake -DHB_HAVE_GRAPHITE2=ON -DHB_BUILTIN_UCDN=ON -DHB_HAVE_GLIB=ON -DHB_HAVE_FREETYPE=ON -Bbuild -H.
233
      - run: make -Cbuild -j32
234
      - run: CTEST_OUTPUT_ON_FAILURE=1 make -Cbuild test
235 236 237 238
      - run: make -Cbuild install

  crosscompile-notest-djgpp:
    docker:
E
Ebrahim Byagowi 已提交
239
      # https://gist.github.com/ebraminio/8551fc74f27951e668102baa2f6b1175
240 241 242 243 244
      - image: quay.io/ebraminio/djgpp
    steps:
      - checkout
      - run: apt update && apt install -y ragel pkg-config libtool autoconf
      - run: CFLAGS="-Wno-attributes" CXXFLAGS="-Wno-attributes" ./autogen.sh --prefix=/usr/local/djgpp --host=i586-pc-msdosdjgpp
245
      - run: make -j32
246

247 248 249 250 251 252 253
  crosscompile-notest-freebsd9:
    docker:
      - image: donbowman/freebsd-cross-build
    steps:
      - checkout
      - run: apt update && apt install -y pkg-config ragel
      - run: ./autogen.sh --prefix=/freebsd --host=x86_64-pc-freebsd9
254
      - run: make -j32
255 256

  crosscompile-notest-psvita:
257 258 259 260 261 262
    docker:
      - image: dockcross/base
    steps:
      - checkout
      - run: apt update && apt install ragel
      - run: git clone https://github.com/vitasdk/vdpm && cd vdpm && ./bootstrap-vitasdk.sh
263
      - run: ./autogen.sh --prefix=/usr/local/vitasdk/arm-vita-eabi --host=arm-vita-eabi
264
      - run: make -j32
265

266
  crosscompile-cmake-notest-android-arm:
267 268 269 270 271
    docker:
      - image: dockcross/android-arm
    steps:
      - checkout
      - run: apt update && apt install ragel
272 273
      - run: cmake -Bbuild -H. -GNinja
      - run: ninja -Cbuild
274

275
  crosscompile-cmake-notest-browser-asmjs:
276 277 278 279 280
    docker:
      - image: dockcross/browser-asmjs
    steps:
      - checkout
      - run: apt update && apt install ragel
281 282
      - run: cmake -Bbuild -H. -GNinja
      - run: ninja -Cbuild
283

284
  crosscompile-cmake-notest-linux-arm64:
285
    docker:
B
Behdad Esfahbod 已提交
286
      - image: dockcross/linux-arm64
287 288 289
    steps:
      - checkout
      - run: apt update && apt install ragel
290 291
      - run: cmake -Bbuild -H. -GNinja
      - run: ninja -Cbuild
292

293
  crosscompile-cmake-notest-linux-mips:
294 295 296 297 298
    docker:
      - image: dockcross/linux-mips
    steps:
      - checkout
      - run: apt update && apt install ragel
299 300
      - run: cmake -Bbuild -H. -GNinja
      - run: ninja -Cbuild
301

302 303 304 305 306 307 308 309
  #crosscompile-cmake-notest-windows-x64:
  #  docker:
  #    - image: dockcross/windows-x64
  #  steps:
  #    - checkout
  #    - run: apt update && apt install ragel
  #    - run: cmake -Bbuild -H. -GNinja
  #    - run: ninja -Cbuild
310

311 312 313 314
workflows:
  version: 2
  build:
    jobs:
315
      # macOS
316
      - macos-10.12-aat-fonts
E
Ebrahim Byagowi 已提交
317 318
      #- macos-llvm-gcc-4.2
      #- macos-notest-apple-gcc-i686-4.2
319
      - macos-notest-ios
320

321
      # both autotools and cmake
E
Ebrahim Byagowi 已提交
322
      - distcheck
323 324

      # autotools based builds
325
      - alpine-O3-NOMMAP
326
      - archlinux-debug-O0-py3
327
      - gcc-valgrind
328
      - clang-O3-O0
329
      - clang-everything
330
      - clang-asan
331
      - clang-msan
332
      - clang-tsan
333
      - clang-ubsan
334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351
      - fedora-outoftreebuild

      # cmake based builds
      - cmake-gcc
      - cmake-oracledeveloperstudio

      # crosscompiles
      # they can't be test thus are without tests
      ## autotools
      - crosscompile-notest-djgpp
      - crosscompile-notest-freebsd9
      - crosscompile-notest-psvita

      ## cmake
      - crosscompile-cmake-notest-android-arm
      - crosscompile-cmake-notest-browser-asmjs
      - crosscompile-cmake-notest-linux-arm64
      - crosscompile-cmake-notest-linux-mips
352
      #- crosscompile-cmake-notest-windows-x64