Skip to content

Commit

Permalink
Test with podman
Browse files Browse the repository at this point in the history
  • Loading branch information
ppalaga committed Apr 30, 2024
1 parent 8198f73 commit 59528db
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,26 @@ defaults:

jobs:
build:
name: Build on ${{ matrix.os }}
name: Build on ${{ matrix.os }} with ${{ matrix.container-runtime }}
strategy:
fail-fast: false
matrix:
# os: [windows-latest, macos-latest, ubuntu-latest]
os: [ubuntu-latest]
container-runtime: [docker, podman]
runs-on: ${{ matrix.os }}
steps:
- name: Prepare git
run: git config --global core.autocrlf false
if: startsWith(matrix.os, 'windows')

- name: Install podman if needed
if: matrix.container-runtime == 'podman'
run: |
dpkg -l | grep -i docker
sudo apt-get update
sudo apt-get -y install podman
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
Expand Down

0 comments on commit 59528db

Please sign in to comment.