ci: use Focal for macOS cross builds #21112

pull fanquake wants to merge 1 commits into bitcoin:master from fanquake:actually_use_focal_in_cirrus_ci changing 2 files +3 −3
  1. fanquake commented at 10:39 am on February 8, 2021: member

    I had assumed Cirrus was spinning up Docker containers to run the CI, however we are actaully running on the Cirrus machines themselves. See DANGER_RUN_CI_ON_HOST and in the logs:

    0Running on host system without docker wrapper
    

    So with this change we will actually be using Focal for the macOS cross build.

    Follow up to #21036.

    This originally contained Windows changes, and an attempt to get Cirrus running without DANGER_RUN_CI_ON_HOST, however that seems non-trival, so Windows changes have been dropped from here for now.

  2. fanquake added the label Tests on Feb 8, 2021
  3. fanquake force-pushed on Feb 8, 2021
  4. fanquake force-pushed on Feb 9, 2021
  5. fanquake commented at 2:12 am on February 9, 2021: member
    I’ve added a fix for the “wine: fixed a temporary directory error, please try running the same command again” issue. It seems that just invoking wine once before wrapping is enough to solve it. This fixes the issue, at least for me locally, when running the Windows CI using DANGER_RUN_CI_ON_HOST in a Ubuntu Focal container.
  6. fanquake commented at 3:43 am on February 9, 2021: member

    Seems that still wasn’t enough to fix the wine issue here. Going to look at removing DANGER_RUN_CI_ON_HOST use from Cirrus.

     0make: Leaving directory '/tmp/cirrus-ci-build/ci/scratch/build/bitcoin-x86_64-w64-mingw32/src/univalue'
     1wine-5.0 (Ubuntu 5.0-3ubuntu1)
     2/tmp/cirrus-ci-build/ci/scratch/build/bitcoin-x86_64-w64-mingw32/release/bitcoin-cli.exe: PE32+ executable (console) x86-64 (stripped to external PDB), for MS Windows
     3....
     4Making check in src
     5make[1]: Entering directory '/tmp/cirrus-ci-build/ci/scratch/build/bitcoin-x86_64-w64-mingw32/src'
     6make[2]: Entering directory '/tmp/cirrus-ci-build/ci/scratch/build/bitcoin-x86_64-w64-mingw32/src'
     7make  check-TESTS check-local
     8make[3]: Entering directory '/tmp/cirrus-ci-build/ci/scratch/build/bitcoin-x86_64-w64-mingw32/src'
     9Running tests: arith_uint256_tests from test/arith_uint256_tests.cpp
    10Running tests: amount_tests from test/amount_tests.cpp
    11Running tests: addrman_tests from test/addrman_tests.cpp
    12make[4]: Entering directory '/tmp/cirrus-ci-build/ci/scratch/build/bitcoin-x86_64-w64-mingw32/src'
    13============================================================================
    14Testsuite summary for Bitcoin Core 21.99.0
    15============================================================================
    16# TOTAL: 0
    17# PASS:  0
    18# SKIP:  0
    19# XFAIL: 0
    20# FAIL:  0
    21# XPASS: 0
    22# ERROR: 0
    23============================================================================
    24make[4]: Leaving directory '/tmp/cirrus-ci-build/ci/scratch/build/bitcoin-x86_64-w64-mingw32/src'
    25Running tests: allocator_tests from test/allocator_tests.cpp
    26wine: created the configuration directory '/root/.wine'
    27wine: fixed a temporary directory error, please try running the same command again
    28wine: fixed a temporary directory error, please try running the same command again
    29make[3]: *** [Makefile:16876: test/allocator_tests.cpp.test] Error 1
    30make[3]: *** Waiting for unfinished jobs....
    31make[3]: *** [Makefile:16876: test/arith_uint256_tests.cpp.test] Error 1
    32wine: chdir to /tmp/wine-T4J7Vv/server-31-2397f5 : No such file or directory
    33wine: created the configuration directory '/root/.wine'
    34wine: chdir to /tmp/wine-apTpaF/server-31-2397f5 : No such file or directory
    35make[3]: *** [Makefile:16876: test/addrman_tests.cpp.test] Error 1
    36make[3]: *** [Makefile:16876: test/amount_tests.cpp.test] Error 1
    
  7. fanquake force-pushed on Feb 9, 2021
  8. fanquake force-pushed on Feb 9, 2021
  9. fanquake force-pushed on Feb 9, 2021
  10. ci: use Ubuntu Focal for macOS cross build ac24af453d
  11. fanquake force-pushed on Feb 9, 2021
  12. fanquake renamed this:
    ci: use Focal for macOS and Win cross builds
    ci: use Focal for macOS cross builds
    on Feb 9, 2021
  13. MarcoFalke commented at 6:59 am on February 9, 2021: member
    cr ACK ac24af453d16afd1993fa1f292aa41ae6b16f138
  14. MarcoFalke merged this on Feb 9, 2021
  15. MarcoFalke closed this on Feb 9, 2021

  16. fanquake deleted the branch on Feb 9, 2021
  17. sidhujag referenced this in commit cf4040260f on Feb 9, 2021
  18. sidhujag referenced this in commit 4c350cf1d9 on Feb 9, 2021
  19. DrahtBot locked this on Aug 18, 2022

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-11-17 18:12 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me