Skip to content

Commit

Permalink
Use action to install Podman
Browse files Browse the repository at this point in the history
  • Loading branch information
mattbsox committed Sep 19, 2023
1 parent 9d5e3da commit c1961cc
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,21 @@ jobs:
RUNTIME_VERSION: 23.0.0.3
name: ${{ matrix.RUNTIME }} ${{ matrix.RUNTIME_VERSION }}, Java ${{ matrix.java }}, Linux
steps:
- name: Install Podman
uses: gacts/install-podman@v1
with:
qemu: true
- name: Setup qemu
run: |
echo 'KERNEL=="kvm", GROUP="kvm", MODE="0666", OPTIONS+="static_node=kvm"' | sudo tee /etc/udev/rules.d/99-kvm4all.rules
sudo udevadm control --reload-rules
sudo udevadm trigger --name-match=kvm
sudo apt install qemu-system-x86
- name: Setup Podman
run: |
sudo apt update
sudo apt-get -y install podman
sudo podman machine init --rootful=true
sudo podman machine start
podman version
podman machine init --rootful=true
podman machine start
# Checkout repos
- name: Checkout ci.gradle
uses: actions/checkout@v3
Expand Down

0 comments on commit c1961cc

Please sign in to comment.