this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Setup CircleCI (#769)

* Translatation of Github Actions config to CircleCI config

* Uses Clang 9 to build

* Removes Github Actions workflow

Co-authored-by: Luboš Doležel <lubos@dolezel.info>

authored by

Ariel Abreu
Luboš Doležel
and committed by
GitHub
ec0045c0 87091dba

+61 -58
+59
.circleci/config.yml
··· 1 + version: 2.1 2 + orbs: 3 + git-shallow-clone: guitarrapc/git-shallow-clone@2.0.3 4 + jobs: 5 + build: 6 + machine: 7 + image: 'ubuntu-1604:202004-01' 8 + steps: 9 + - git-shallow-clone/checkout 10 + - run: 11 + name: Checkout submodules 12 + command: | 13 + git submodule sync 14 + git submodule update --init --recursive --depth=1 15 + - run: 16 + name: Install dependencies 17 + command: | 18 + # keys 19 + wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/null | sudo apt-key add - 20 + wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add - 21 + 22 + # repos 23 + sudo apt-add-repository 'deb https://apt.kitware.com/ubuntu/ xenial main' 24 + sudo apt-add-repository 'deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-9 main' 25 + sudo add-apt-repository ppa:deadsnakes/ppa 26 + 27 + sudo dpkg --add-architecture i386 28 + 29 + sudo apt-get update 30 + sudo apt-get upgrade -y cmake 31 + sudo apt-get install --no-install-recommends -y devscripts equivs debhelper libdistro-info-perl python3.8 clang-9 32 + sudo mk-build-deps -i -r -t "apt-get --no-install-recommends -y" debian/control 33 + 34 + sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.8 1 35 + sudo update-alternatives --auto python3 36 + - run: 37 + name: Build DSCs 38 + no_output_timeout: 30m 39 + command: | 40 + export DEB_DISTRO=$(lsb_release -cs) 41 + tools/makedeb --dsc 42 + - run: 43 + name: Move DSCs 44 + command: mkdir source && mv ../*~$(lsb_release -cs).* source 45 + - run: 46 + name: Build DEBs 47 + no_output_timeout: 30m 48 + command: | 49 + export DEB_DISTRO=$(lsb_release -cs) 50 + tools/makedeb 51 + - run: 52 + name: Move DEBs 53 + command: mkdir dist && mv ../*.deb dist 54 + - store_artifacts: 55 + path: dist/ 56 + destination: debs 57 + - store_artifacts: 58 + path: source/ 59 + destination: source
-56
.github/workflows/ccpp.yml
··· 1 - name: Darling CI 2 - 3 - on: [push] 4 - 5 - jobs: 6 - build-deb: 7 - runs-on: ubuntu-latest 8 - steps: 9 - - uses: actions/checkout@v2 10 - - name: Checkout Submodules 11 - shell: bash 12 - run: | 13 - # If your submodules are configured to use SSH instead of HTTPS please uncomment the following line 14 - # git config --global url."https://github.com/".insteadOf "git@github.com:" 15 - git remote set-url origin https://github.com/darlinghq/darling.git 16 - auth_header="$(git config --local --get http.https://github.com/.extraheader)" 17 - git submodule sync --recursive 18 - git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1 19 - - name: Install Dependencies 20 - run: | 21 - sudo apt-get update && sudo apt-get install devscripts equivs debhelper 22 - sudo mk-build-deps -ir 23 - - name: Build DEB 24 - run: tools/makedeb 25 - - name: Move DEBs 26 - run: mkdir dist && mv ../*.deb dist 27 - - name: Upload Artifacts 28 - uses: actions/upload-artifact@v1 29 - with: 30 - name: 'debs' 31 - path: dist/ 32 - 33 - build-dsc: 34 - runs-on: ubuntu-latest 35 - steps: 36 - - uses: actions/checkout@v2 37 - - name: Checkout Submodules 38 - shell: bash 39 - run: | 40 - # If your submodules are configured to use SSH instead of HTTPS please uncomment the following line 41 - # git config --global url."https://github.com/".insteadOf "git@github.com:" 42 - git remote set-url origin https://github.com/darlinghq/darling.git 43 - auth_header="$(git config --local --get http.https://github.com/.extraheader)" 44 - git submodule sync --recursive 45 - git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1 46 - - name: Install Dependencies 47 - run: sudo apt-get update && sudo apt-get install devscripts dpkg-dev debhelper 48 - - name: Build DSC 49 - run: tools/makedeb --dsc 50 - - name: Move DSCs 51 - run: mkdir source && mv ../*~testing.* source 52 - - name: Upload Artifacts 53 - uses: actions/upload-artifact@v1 54 - with: 55 - name: 'source' 56 - path: source/
+1 -1
debian/control
··· 3 3 Section: misc 4 4 Priority: optional 5 5 Standards-Version: 4.4.0 6 - Build-Depends: cmake, clang, bison, flex, libfuse-dev, libudev-dev, pkg-config, libc6-dev-i386, linux-headers-amd64|linux-headers-generic, gcc-multilib, libcairo2-dev, libgl1-mesa-dev, libtiff5-dev, libfreetype6-dev, libelf-dev, libxml2-dev, libegl1-mesa-dev, libfontconfig1-dev, libbsd-dev, debhelper, ninja-build, python, libxrandr-dev, libxcursor-dev, libgif-dev, libavcodec-dev, libavformat-dev, libavresample-dev, libavutil-dev, libpulse-dev, libavformat-dev, libavcodec-dev, libavresample-dev, libdbus-1-dev 6 + Build-Depends: cmake, clang | clang-9, bison, flex, libfuse-dev, libudev-dev, pkg-config, libc6-dev-i386, linux-headers-amd64|linux-headers-generic, gcc-multilib, libcairo2-dev, libgl1-mesa-dev, libtiff5-dev, libfreetype6-dev, libelf-dev, libxml2-dev, libegl1-mesa-dev, libfontconfig1-dev, libbsd-dev, debhelper, ninja-build, python, libxrandr-dev, libxcursor-dev, libgif-dev, libavcodec-dev, libavformat-dev, libavresample-dev, libavutil-dev, libpulse-dev, libavformat-dev, libavcodec-dev, libavresample-dev, libdbus-1-dev, libfreetype6-dev:i386 7 7 8 8 Package: darling 9 9 Architecture: amd64
+1 -1
src/dyld/dyld3/MachOAnalyzer.cpp
··· 3316 3316 // The section handler may also reject this section 3317 3317 if ( sectionHandler != nullptr ) { 3318 3318 if (!sectionHandler(*foundSectionInfo)) { 3319 - return nullptr; 3319 + return false; 3320 3320 } 3321 3321 } 3322 3322