-
Notifications
You must be signed in to change notification settings - Fork 38.7k
ci: use Focal for macOS cross builds #21112
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ci: use Focal for macOS cross builds #21112
Conversation
29a6b99 to
a9694c8
Compare
|
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 |
|
Seems that still wasn't enough to fix the wine issue here. Going to look at removing make: Leaving directory '/tmp/cirrus-ci-build/ci/scratch/build/bitcoin-x86_64-w64-mingw32/src/univalue'
wine-5.0 (Ubuntu 5.0-3ubuntu1)
/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
....
Making check in src
make[1]: Entering directory '/tmp/cirrus-ci-build/ci/scratch/build/bitcoin-x86_64-w64-mingw32/src'
make[2]: Entering directory '/tmp/cirrus-ci-build/ci/scratch/build/bitcoin-x86_64-w64-mingw32/src'
make check-TESTS check-local
make[3]: Entering directory '/tmp/cirrus-ci-build/ci/scratch/build/bitcoin-x86_64-w64-mingw32/src'
Running tests: arith_uint256_tests from test/arith_uint256_tests.cpp
Running tests: amount_tests from test/amount_tests.cpp
Running tests: addrman_tests from test/addrman_tests.cpp
make[4]: Entering directory '/tmp/cirrus-ci-build/ci/scratch/build/bitcoin-x86_64-w64-mingw32/src'
============================================================================
Testsuite summary for Bitcoin Core 21.99.0
============================================================================
# TOTAL: 0
# PASS: 0
# SKIP: 0
# XFAIL: 0
# FAIL: 0
# XPASS: 0
# ERROR: 0
============================================================================
make[4]: Leaving directory '/tmp/cirrus-ci-build/ci/scratch/build/bitcoin-x86_64-w64-mingw32/src'
Running tests: allocator_tests from test/allocator_tests.cpp
wine: created the configuration directory '/root/.wine'
wine: fixed a temporary directory error, please try running the same command again
wine: fixed a temporary directory error, please try running the same command again
make[3]: *** [Makefile:16876: test/allocator_tests.cpp.test] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: *** [Makefile:16876: test/arith_uint256_tests.cpp.test] Error 1
wine: chdir to /tmp/wine-T4J7Vv/server-31-2397f5 : No such file or directory
wine: created the configuration directory '/root/.wine'
wine: chdir to /tmp/wine-apTpaF/server-31-2397f5 : No such file or directory
make[3]: *** [Makefile:16876: test/addrman_tests.cpp.test] Error 1
make[3]: *** [Makefile:16876: test/amount_tests.cpp.test] Error 1 |
b0f2521 to
3909652
Compare
3909652 to
ac24af4
Compare
|
cr ACK ac24af4 |
ac24af4 ci: use Ubuntu Focal for macOS cross build (fanquake) Pull request description: 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: ```bash Running on host system without docker wrapper ``` So with this change we will actually be using Focal for the macOS cross build. Follow up to bitcoin#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. ACKs for top commit: MarcoFalke: cr ACK ac24af4 Tree-SHA512: 587ba5acf741bcefecf1bc262fa1177f565ebfa9de56125eca19ed3c7db7b9aabfb96866e9c140681b88cb7015a3ded2bc6b4b1b235543d6f6e9dfc6984d569f
This reverts commit cf40402.
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_HOSTand in the logs: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.