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

TEST IGNORE --cxl-test-run #111

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 11 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
img_distro: ubuntu
img_rel: noble
arch: [x86_64]
run_opts: [--cxl-test --ndctl-build]
run_opts: [--cxl-test-run --ndctl-build]

steps:
- uses: actions/checkout@v4
Expand All @@ -53,9 +53,17 @@ jobs:

# run_qemu deps
sudo apt install -y mkosi # this one pulls A LOT
sudo apt install -y dracut-core qemu-utils ovmf mtools
sudo apt install -y dracut-core qemu-utils ovmf mtools qemu-system-x86
pip3 install qemu.qmp

# This is required on a plain Ubuntu system but is blocked on Github runners.
# sudo usermod -a -G kvm $(id -u -n)

# This Ubuntu 22.04 file disappeared in Ubuntu 24.04, no idea why.
# FIXME: make run_qemu.sh#get_ovmf_binaries() smarter and more flexible.
test -e /usr/share/OVMF/OVMF_CODE.fd ||
sudo ln -s OVMF_CODE_4M.fd /usr/share/OVMF/OVMF_CODE.fd

- name: mkosi v20 fixes
if: matrix.cfg.os == 'ubuntu-24.04'
run: |
Expand Down Expand Up @@ -157,7 +165,7 @@ jobs:
PATH=/usr/lib/ccache:"$PATH" \
distro=${{ matrix.cfg.img_distro }} rev=${{ matrix.cfg.img_rel }} \
ndctl='${{ github.workspace }}'/ndctl \
../run_qemu/run_qemu.sh -v --no-run ${{ matrix.run_opts }}
../run_qemu/run_qemu.sh -v ${{ matrix.run_opts }}

- name: ccache stats post build
run: |
Expand Down
Loading