forked from dracut-ng/dracut-ng
-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (37 loc) · 1.38 KB
/
daily-mkosi-x64.yml
File metadata and controls
41 lines (37 loc) · 1.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
---
name: Daily Tests - mkosi (x64)
on: # yamllint disable-line rule:truthy
schedule:
- cron: '30 23 * * *' # every day at 23:30 UTC
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
pull_request:
paths:
- '.github/workflows/daily-mkosi-x64.yml'
jobs:
mkosi:
name: ${{ matrix.config.test }} on ${{ matrix.container }} with mkosi
runs-on: ubuntu-24.04
timeout-minutes: 30
concurrency:
group: >
daily-mkosi-${{ github.workflow }}-${{ github.ref }}
-${{ matrix.container }}-${{ matrix.config.test }}
cancel-in-progress: true
strategy:
fail-fast: false
matrix:
container:
- opensuse:latest
config:
- {test: '41', deps: 'mkosi-initrd'}
container:
image: ghcr.io/dracut-ng/${{ matrix.container }}
options: '--device=/dev/kvm --privileged'
steps:
- name: "Checkout Repository"
uses: actions/checkout@v6
- name: "TEST-${{ matrix.config.test }}"
run: >
TEST_CONTAINER_COMMAND="zypper --non-interactive install ${{ matrix.config.deps }}"
./test/test-container.sh "TEST-${{ matrix.config.test }}" ${{ matrix.config.test }}