-
Notifications
You must be signed in to change notification settings - Fork 510
51 lines (45 loc) · 1.14 KB
/
nightly.yml
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
42
43
44
45
46
47
48
49
50
51
# Run less frequently used OSes and checks.
name: Nightly
on:
workflow_dispatch:
schedule:
# run this job at 23:00 UTC every other day
- cron: '0 23 */2 * *'
push:
tags:
- '*'
env:
GITHUB_REPO: pmem/pmdk
DOCKER_REPO: ghcr.io/pmem/pmdk
HOST_WORKDIR: /home/runner/work/pmdk/pmdk
WORKDIR: utils/docker
PMDK_CC: gcc
PMDK_CXX: g++
SRC_CHECKERS: 0
jobs:
packaging:
name: Packaging
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
CONFIG: [
"OS=ubuntu OS_VER=22.04",
"OS=opensuse-leap OS_VER=15",
]
steps:
- name: Clone the git repo
uses: actions/checkout@v3
with:
fetch-depth: 50
- name: Get system information
run: ./$WORKDIR/get-system-info.sh
- name: Pull the image
run: cd $WORKDIR && ${{ matrix.CONFIG }} ./pull-or-rebuild-image.sh
- name: Run the build
env:
MAKE_PKG: 1
VALGRIND: 0
EXPERIMENTAL: 0
NDCTL_ENABLE: y
run: cd $WORKDIR && ${{ matrix.CONFIG }} ./build-CI.sh