@@ -61,33 +61,21 @@ runs:
6161 id : set_arch
6262 shell : bash
6363 run : echo "ARCH=$(arch)" >> $GITHUB_ENV
64- # We often use Rust, so set up opinionated default caching
65- - name : Setup Rust cache
66- uses : Swatinem/rust-cache@v2
67- with :
68- cache-all-crates : true
69- # Only generate caches on push to git main
70- save-if : ${{ github.ref == 'refs/heads/main' }}
71- # Suppress actually using the cache for builds running from
72- # git main so that we avoid incremental compilation bugs
73- lookup-only : ${{ github.ref == 'refs/heads/main' }}
7464 # Install libvirt stack if requested
7565 - name : Install libvirt and virtualization stack
7666 if : ${{ inputs.libvirt == 'true' }}
7767 shell : bash
78- env :
79- GH_TOKEN : ${{ github.token }}
8068 run : |
8169 set -xeuo pipefail
82- export BCVK_VERSION=0.6 .0
70+ export BCVK_VERSION=0.8 .0
8371 /bin/time -f '%E %C' sudo apt install -y libkrb5-dev pkg-config libvirt-dev genisoimage qemu-utils qemu-kvm virtiofsd libvirt-daemon-system
8472 # Something in the stack is overriding this, but we want session right now for bcvk
8573 echo LIBVIRT_DEFAULT_URI=qemu:///session >> $GITHUB_ENV
8674 td=$(mktemp -d)
8775 cd $td
88- # Install bcvk from PR 159
89- gh run download 19640807620 --name bcvk-binary --repo bootc-dev/bcvk
76+ # Install bcvk
9077 target=bcvk-$(arch)-unknown-linux-gnu
78+ /bin/time -f '%E %C' curl -LO https://github.com/bootc-dev/bcvk/releases/download/v${BCVK_VERSION}/${target}.tar.gz
9179 tar xzf ${target}.tar.gz
9280 sudo install -T ${target} /usr/bin/bcvk
9381 cd -
0 commit comments