Skip to content
Draft
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
28 changes: 28 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,31 @@ jobs:
- uses: ./ssh
- run: rsync -a -e ssh . lima-default:/tmp/repo
- run: ssh lima-default ls -l /tmp/repo

# Analyze potential performance regression
# https://github.com/lima-vm/lima/issues/4317
benchmark:
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
version: ["v2.0.1", "v1.2.2"]
steps:
- uses: actions/checkout@v4
- uses: ./setup
id: lima-actions-setup
with:
version: ${{ matrix.version }}
- uses: actions/cache@v4
with:
path: ~/.cache/lima
key: lima-benchmark-${{ steps.lima-actions-setup.outputs.version }}
# The VM spec follows https://github.com/moby/moby/blob/docker-v29.0.0-rc.3/.github/workflows/.vm.yml#L56
- run: limactl start --name=default --cpus=4 --memory=12 --plain template://oraclelinux-8
- run: lima sudo dnf install -y epel-release
- run: lima sudo dnf install -y sysbench
- run: lima sysbench cpu run
- run: lima sysbench memory run
- run: lima sysbench threads run
- run: lima sysbench fileio prepare
- run: lima sysbench fileio --file-test-mode=rndrw run
Loading