diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index be7fa06b0..41f0d5a2d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -10,7 +10,7 @@ on: env: BUILD_DEPS: cmake libconfig++-dev libxxhash-dev libjemalloc-dev libtsl-hopscotch-map-dev pkg-config python3-jinja2 - TEST_DEPS: bc bats clang node-d3 graphviz moreutils fakeroot + TEST_DEPS: bc bats clang node-d3 moreutils fakeroot jobs: build-on-ubuntu-lts: needs: style-checks @@ -32,7 +32,7 @@ jobs: key: build-on-ubuntu-lts - name: install-deps run: | - sudo eatmydata apt-get -y install $BUILD_DEPS $TEST_DEPS doxygen lcov + sudo eatmydata apt-get -y install $BUILD_DEPS $TEST_DEPS doxygen graphviz lcov - name: build-out-of-tree run: | mkdir build @@ -353,10 +353,13 @@ jobs: export XML_CATALOG_FILES=${HOMEBREW_PREFIX}/etc/xml/catalog export PATH=${HOMEBREW_PREFIX}/opt/ccache/libexec:$PATH export PYTHONPATH=$(ls -d ${HOMEBREW_PREFIX}/Cellar/jinja2-cli/*/libexec/lib/*/site-packages | tail -n1) - cmake -G Xcode -B build-xcode - cd build-xcode - xcodebuild - + # build self with Xcode + for i in 1 2; do + rm -rf build-xcode + time firebuild cmake -G Xcode -B build-xcode + (cd build-xcode && + time firebuild -o env_vars.pass_through+=\"PYTHONPATH\" -o env_vars.pass_through+=\"XML_CATALOG_FILES\" xcodebuild) + done style-checks: runs-on: ubuntu-22.04 outputs: diff --git a/Brewfile b/Brewfile index a78b563d1..3a8d6996c 100644 --- a/Brewfile +++ b/Brewfile @@ -2,7 +2,6 @@ brew "bats-core" brew "cmake" brew "coreutils" brew "docbook-xsl" -brew "graphviz" brew "hopscotch-map" brew "jemalloc" brew "jinja2-cli" diff --git a/README.md b/README.md index bb19278f7..3967b6d1a 100644 --- a/README.md +++ b/README.md @@ -107,7 +107,7 @@ For Ubuntu earlier than 21.04 (xxhash earlier than 0.8.0 or Valgrind earlier tha Install the build dependencies: sudo apt update - sudo apt install clang cmake bats bc graphviz libconfig++-dev node-d3 libxxhash-dev libjemalloc-dev libtsl-hopscotch-map-dev moreutils python3-jinja2 fakeroot + sudo apt install clang cmake bats bc libconfig++-dev node-d3 libxxhash-dev libjemalloc-dev libtsl-hopscotch-map-dev moreutils python3-jinja2 fakeroot Build: diff --git a/bitrise.yml b/bitrise.yml index 53372233b..ada1d4a6a 100644 --- a/bitrise.yml +++ b/bitrise.yml @@ -30,6 +30,7 @@ workflows: make -C build-make -j$NPROC make -C build-make -j$NPROC check sudo make -C build-make install + tar --zstd -cf ${BITRISE_DEPLOY_DIR}/firebuild-$(git log -1 --format=%cd-%h --date=format:%Y-%m-%d).tar.zst /usr/local/bin/firebuild /usr/local/lib/libfirebuild.* /usr/local/etc/firebuild.conf /usr/local/share/firebuild # build self with Xcode for i in 1 2; do rm -rf build-xcode @@ -46,7 +47,7 @@ workflows: meta: bitrise.io: stack: osx-xcode-edge - machine_type_id: g2-m1.4core + machine_type_id: g2.mac.medium trigger_map: - push_branch: master workflow: primary diff --git a/data/build-report.html b/data/build-report.html index 022664b23..2fb637fa9 100644 --- a/data/build-report.html +++ b/data/build-report.html @@ -5,6 +5,7 @@