This repository was archived by the owner on Mar 22, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 74
51 lines (46 loc) · 1.69 KB
/
other_OSes.yml
File metadata and controls
51 lines (46 loc) · 1.69 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
42
43
44
45
46
47
48
49
50
51
name: CPP-other
on:
schedule:
# run this job at 01:00 UTC everyday
- cron: '0 1 * * *'
env:
REPO: libpmemobj-cpp
GITHUB_REPO: pmem/libpmemobj-cpp
CONTAINER_REG: ghcr.io/pmem/libpmemobj-cpp
HOST_WORKDIR: ${{ github.workspace }}
WORKDIR: utils/docker
TEST_TIMEOUT: 600
IMG_VER: latest
TYPE: debug
PUSH_IMAGE: 1
# use org's Private Access Token to log in to GitHub Container Registry
CONTAINER_REG_USER: ${{ secrets.GH_CR_USER }}
CONTAINER_REG_PASS: ${{ secrets.GH_CR_PAT }}
jobs:
linux:
name: Linux-other
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
CONFIG: ["OS=centos OS_VER=8",
"OS=archlinux-base OS_VER=latest",
"OS=debian OS_VER=testing",
"OS=debian OS_VER=unstable",
"OS=fedora OS_VER=35",
"OS=fedora OS_VER=rawhide PUSH_IMAGE=0 TESTS_PMREORDER=0",
"TYPE=package OS=fedora OS_VER=rawhide",
"OS=opensuse-leap OS_VER=latest",
"OS=opensuse-tumbleweed OS_VER=latest",
"OS=ubuntu OS_VER=18.04",
"OS=ubuntu OS_VER=20.04",
"OS=ubuntu OS_VER=rolling PUSH_IMAGE=0",
"TYPE=package OS=ubuntu OS_VER=rolling"]
steps:
- name: Clone the git repo
uses: actions/checkout@v2
# other_OSes workflow rebuilds images every time and push them to the container registry
- name: Rebuild and push the image
run: cd $WORKDIR && ${{ matrix.CONFIG }} ./pull-or-rebuild-image.sh rebuild
- name: Run the build
run: cd $WORKDIR && ${{ matrix.CONFIG }} ./build.sh