Skip to content
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: development build backports [0.18] #9777

Open
wants to merge 2 commits into
base: release-v0.18
Choose a base branch
from

Conversation

tobtoht
Copy link
Collaborator

@tobtoht tobtoht commented Feb 7, 2025

This PR consolidates changes made to .github/workflows/build.yml from master to release-v0.18.

The easiest way to review this PR would be to run:

git diff master tobtoht/ci_containerize_dev_rel -- .github/workflows/build.yml .github/actions/set-make-job-count/action.yml

I left out the Arch Linux build for now, because getting this to build on release-v0.18 will require additional changes.

@tobtoht tobtoht marked this pull request as draft February 7, 2025 06:42
@tobtoht tobtoht force-pushed the ci_containerize_dev_rel branch 2 times, most recently from 94729fe to d815d70 Compare February 7, 2025 08:48
key: ccache-${{ matrix.container }}-build-${{ github.sha }}
restore-keys: ccache-${{ matrix.container }}-build-
- uses: ./.github/actions/set-make-job-count
- name: tests
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you're missing the loop device setup here.

Copy link

@iamamyth iamamyth Feb 7, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I should amend: You dropped the test entirely, which is OK by me, although, if you dropped it because GTEST_SKIP doesn't exist in older versions of gtest, you can find the original version of the is_hdd tests PR, which didn't require GTEST_SKIP, here: master...iamamyth:monero:fix-hdd-tests-old.

iamamyth and others added 2 commits February 8, 2025 02:55
Correct the unit tests for tools::is_hdd to avoid making assumptions
about the configuration of a particular device based solely on the
value of the __GLIBC__ preprocessor flag. Instead, rely on the
test invoker to provide paths for devices of specific types via
the process environment, thereby avoiding faulty assumptions and
improving the specificity of test assertions. To ensure appropriate
devices exist, add a script, tests/create_test_disks.sh, which
configures loopback devices mirroring relevant configurations.
@tobtoht tobtoht force-pushed the ci_containerize_dev_rel branch from d815d70 to 87a8e0b Compare February 8, 2025 01:58
@tobtoht tobtoht marked this pull request as ready for review February 8, 2025 04:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants