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 496ae45 commit 9fde14f
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,25 @@ 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: Remove docker if needed
if: matrix.container-runtime == 'podman'
run: |
dpkg -l | grep -i docker
sudo apt-get purge docker-ce docker-ce-cli
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
Expand Down

0 comments on commit 9fde14f

Please sign in to comment.