Skip to content

Commit

Permalink
test 123
Browse files Browse the repository at this point in the history
  • Loading branch information
feikesteenbergen committed Oct 13, 2023
1 parent fda6cc8 commit 7b04b14
Showing 1 changed file with 39 additions and 33 deletions.
72 changes: 39 additions & 33 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,40 +41,46 @@ jobs:
matrix:
# REVERT TO: pgversion: [12, 13, 14, 15, 16]
pgversion: [15, 16]
container: "${{ \
( \
inputs.all-platforms || \
( \
github.event_name == 'schedule' && \
github.event.schedule == '0 6 * * 1-4' \
) \
) && \
fromJSON('[ \
{ \"os\": \"debian\", \"version\": \"10\", \"image\": \"debian-10-amd64\" }, \
{ \"os\": \"debian\", \"version\": \"11\", \"image\": \"debian-11-amd64\" }, \
{ \"os\": \"rockylinux\", \"version\": \"8\", \"image\": \"rockylinux-8-x86_64\" }, \
{ \"os\": \"rockylinux\", \"version\": \"9\", \"image\": \"rockylinux-9-x86_64\" }, \
{ \"os\": \"ubuntu\", \"version\": \"20.04\", \"image\": \"ubuntu-20.04-amd64\" }, \
{ \"os\": \"ubuntu\", \"version\": \"22.04\", \"image\": \"ubuntu-22.04-amd64\" } \
]') \
|| fromJSON('[ \
{ \"os\": \"debian\", \"version\": \"11\", \"image\": \"debian-11-amd64\" }, \
{ \"os\": \"rockylinux\", \"version\": \"9\", \"image\": \"rockylinux-9-x86_64\" }, \
]') \
}}"
# Building TSDB in CI is only supported on Debian/Ubuntu
exclude: "${{ \
( \
(github.event_name == 'schedule' && github.event.schedule == '0 8 * * 1-4') \
|| inputs.tsdb-commit != '' \
) && \
fromJSON('[ \
{\"container\": {\"os\": \"centos\"}}, \
{\"container\": {\"os\": \"rockylinux\"}} \
]') || \
fromJSON('[]') \
}}"
container:
- os: rockylinux
version: "9"
image: rockylinux-9-x86_64
# Building TSDB in CI is only supported on Debian/Ubuntu
skip: ${{ inputs.tsdb-commit != '' }}
schedule: ${{ !(github.event_name == 'schedule' && github.event.schedule == '0 8 * * 1-4') }}
- os: centos
version: "7"
image: centos-7-x86_64
# Building TSDB in CI is only supported on Debian/Ubuntu
skip: ${{ inputs.tsdb-commit != '' || (github.event_name == 'schedule' && github.event.schedule == '0 8 * * 1-4') }}
schedule: ${{ !(github.event_name == 'schedule' && github.event.schedule == '0 8 * * 1-4') }}
- os: debian
version: "11"
image: debian-11-amd64
schedule: true
- os: debian
version: "10"
image: debian-10-amd64
schedule: ${{ inputs.all-platforms || ( github.event_name == 'schedule' && github.event.schedule == '0 6 * * 1-4' ) }}
- os: ubuntu
version: "20.04"
image: ubuntu-20.04-amd64
schedule: ${{ inputs.all-platforms || ( github.event_name == 'schedule' && github.event.schedule == '0 6 * * 1-4' ) }}
- os: ubuntu
version: "22.04"
image: ubuntu-22.04-amd64
schedule: ${{ inputs.all-platforms || ( github.event_name == 'schedule' && github.event.schedule == '0 6 * * 1-4' ) }}

exclude:
- container:
skip: true
- container:
schedule: false
# CentOS 7 does not have PostgreSQL 16 packages
- container:
os: centos
version: "7"
pgversion: 16
env:
# TODO Why? Cargo default is to pass `-C incremental` to rustc; why don't we want that?
# https://doc.rust-lang.org/rustc/codegen-options/index.html#incremental
Expand Down

0 comments on commit 7b04b14

Please sign in to comment.