Skip to content

Commit 3e76324

Browse files
committed
PG-1486 Add ARM64 builds in CI
Add ARM64 based builds to build and test CI workflow triggered on main branch.
1 parent 5610639 commit 3e76324

File tree

4 files changed

+47
-35
lines changed

4 files changed

+47
-35
lines changed

.github/workflows/psp-reusable.yml renamed to .github/workflows/build-and-test.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: PSP-Reusable
1+
name: Reusable build and test
22
on:
33
workflow_call:
44
inputs:
@@ -21,7 +21,7 @@ env:
2121

2222
jobs:
2323
build:
24-
name: Build PSP
24+
name: Build
2525
runs-on: ${{ inputs.os }}
2626
steps:
2727
- name: Clone repository
@@ -50,7 +50,7 @@ jobs:
5050
retention-days: 1
5151

5252
test:
53-
name: Test PSP
53+
name: Test
5454
runs-on: ${{ inputs.os }}
5555
needs: build
5656

@@ -93,8 +93,8 @@ jobs:
9393
src/src/test/*/tmp_check
9494
retention-days: 3
9595

96-
test_tde:
97-
name: Test PSP with TDE
96+
test-default-tde:
97+
name: Test with TDE as default access method
9898
runs-on: ${{ inputs.os }}
9999
if: inputs.build_script == 'make'
100100
needs: build

.github/workflows/matirx.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: Build and Test
2+
on:
3+
pull_request:
4+
push:
5+
branches:
6+
- TDE_REL_17_STABLE
7+
workflow_dispatch:
8+
9+
jobs:
10+
main:
11+
name: Main matrix
12+
strategy:
13+
matrix:
14+
os: [ubuntu-22.04]
15+
compiler: [gcc, clang]
16+
build_type: [debugoptimized]
17+
build_script: [make, meson]
18+
uses: ./.github/workflows/build-and-test.yml
19+
with:
20+
os: ${{ matrix.os }}
21+
compiler: ${{ matrix.compiler }}
22+
build_type: ${{ matrix.build_type }}
23+
build_script: ${{ matrix.build_script }}
24+
secrets: inherit
25+
26+
arm:
27+
name: ARM matrix
28+
if: github.event_name != 'pull_request'
29+
strategy:
30+
matrix:
31+
os: [ubuntu-22.04-arm]
32+
compiler: [gcc, clang]
33+
build_type: [debugoptimized]
34+
build_script: [make, meson]
35+
uses: ./.github/workflows/build-and-test.yml
36+
with:
37+
os: ${{ matrix.os }}
38+
compiler: ${{ matrix.compiler }}
39+
build_type: ${{ matrix.build_type }}
40+
build_script: ${{ matrix.build_script }}
41+
secrets: inherit

.github/workflows/pgindent.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,8 @@
1-
name: PgIndent
1+
name: Format
22
on:
33
pull_request:
44
workflow_dispatch:
55

6-
defaults:
7-
run:
8-
working-directory: ./src
9-
106
jobs:
117
check:
128
name: Check
@@ -15,7 +11,6 @@ jobs:
1511
- name: Clone repository
1612
uses: actions/checkout@v4
1713
with:
18-
path: 'src'
1914
submodules: recursive
2015

2116
- name: Install dependencies

.github/workflows/psp-matrix.yml

Lines changed: 0 additions & 24 deletions
This file was deleted.

0 commit comments

Comments
 (0)