Skip to content

Commit a621b86

Browse files
committed
WIP
1 parent c800f42 commit a621b86

File tree

1 file changed

+89
-64
lines changed

1 file changed

+89
-64
lines changed

.github/workflows/test-make.yaml

Lines changed: 89 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -15,76 +15,101 @@ concurrency:
1515
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
1616
cancel-in-progress: true
1717
jobs:
18-
build-and-xref:
19-
name: Build and Xref
20-
strategy:
21-
fail-fast: false
22-
matrix:
23-
erlang_version:
24-
- '26'
25-
- '27'
26-
elixir_version:
27-
- '1.17'
28-
# @todo Add macOS and Windows.
18+
# build-and-xref:
19+
# name: Build and Xref
20+
# strategy:
21+
# fail-fast: false
22+
# matrix:
23+
# erlang_version:
24+
# - '26'
25+
# - '27'
26+
# elixir_version:
27+
# - '1.17'
28+
# # @todo Add macOS and Windows.
29+
# runs-on: ubuntu-latest
30+
# timeout-minutes: 30
31+
# steps:
32+
# - name: CHECKOUT REPOSITORY
33+
# uses: actions/checkout@v4
34+
#
35+
# - name: FETCH TAGS
36+
# run: git fetch --tags
37+
#
38+
# - name: SETUP OTP & ELIXIR
39+
# uses: erlef/[email protected]
40+
# with:
41+
# otp-version: ${{ matrix.erlang_version }}
42+
# elixir-version: ${{ matrix.elixir_version }}
43+
# hexpm-mirrors: |
44+
# https://builds.hex.pm
45+
# https://cdn.jsdelivr.net/hex
46+
#
47+
# - name: SANITY CHECK (rabbit)
48+
# run: make -C deps/rabbit parallel-ct-sanity-check
49+
#
50+
# - name: SANITY CHECK (rabbitmq_mqtt)
51+
# run: make -C deps/rabbitmq_mqtt parallel-ct-sanity-check
52+
#
53+
# - name: BUILD
54+
# run: make
55+
#
56+
# - name: XREF
57+
# run: make xref
58+
59+
mixed-test:
60+
name: Mixed version testing
2961
runs-on: ubuntu-latest
30-
timeout-minutes: 30
3162
steps:
32-
- name: CHECKOUT REPOSITORY
33-
uses: actions/checkout@v4
34-
35-
- name: FETCH TAGS
36-
run: git fetch --tags
37-
38-
- name: SETUP OTP & ELIXIR
39-
uses: erlef/[email protected]
63+
- name: Download release signing keys
64+
uses: dsaltares/fetch-gh-release-asset@master
4065
with:
41-
otp-version: ${{ matrix.erlang_version }}
42-
elixir-version: ${{ matrix.elixir_version }}
43-
hexpm-mirrors: |
44-
https://builds.hex.pm
45-
https://cdn.jsdelivr.net/hex
66+
repo: rabbitmq/signing-keys
67+
file: rabbitmq-release-signing-key.asc
4668

47-
- name: SANITY CHECK (rabbit)
48-
run: make -C deps/rabbit parallel-ct-sanity-check
69+
- name: Import release signing keys
70+
run: gpg --import rabbitmq-release-signing-key.asc
4971

50-
- name: SANITY CHECK (rabbitmq_mqtt)
51-
run: make -C deps/rabbitmq_mqtt parallel-ct-sanity-check
72+
- name: Download package generic unix
73+
uses: dsaltares/fetch-gh-release-asset@master
74+
with:
75+
regex: true
76+
file: "rabbitmq-server-generic-unix-[\\d.]*\\.tar.xz"
77+
target: ./
5278

53-
- name: BUILD
54-
run: make
79+
- run: ls -la
5580

56-
- name: XREF
57-
run: make xref
81+
- name: Verify package
82+
run: gpg --verify rabbitmq-server-generic-unix-*.asc rabbitmq-server-generic-unix-*.tar.xz
5883

59-
test:
60-
name: Test
61-
strategy:
62-
fail-fast: false
63-
matrix:
64-
erlang_version:
65-
- '26'
84+
# test:
85+
# name: Test
86+
# strategy:
87+
# fail-fast: false
88+
# matrix:
89+
# erlang_version:
90+
# - '26'
91+
## - '27'
92+
# elixir_version:
93+
# - '1.17'
94+
# metadata_store:
95+
# - mnesia
96+
# - khepri
97+
# uses: ./.github/workflows/test-make-tests.yaml
98+
# with:
99+
# erlang_version: ${{ matrix.erlang_version }}
100+
# elixir_version: ${{ matrix.elixir_version }}
101+
# metadata_store: ${{ matrix.metadata_store }}
102+
#
103+
# type-check:
104+
# name: Type check
105+
# strategy:
106+
# fail-fast: false
107+
# matrix:
108+
# erlang_version: # Latest OTP
66109
# - '27'
67-
elixir_version:
68-
- '1.17'
69-
metadata_store:
70-
- mnesia
71-
- khepri
72-
uses: ./.github/workflows/test-make-tests.yaml
73-
with:
74-
erlang_version: ${{ matrix.erlang_version }}
75-
elixir_version: ${{ matrix.elixir_version }}
76-
metadata_store: ${{ matrix.metadata_store }}
77-
78-
type-check:
79-
name: Type check
80-
strategy:
81-
fail-fast: false
82-
matrix:
83-
erlang_version: # Latest OTP
84-
- '27'
85-
elixir_version: # Latest Elixir
86-
- '1.17'
87-
uses: ./.github/workflows/test-make-type-check.yaml
88-
with:
89-
erlang_version: ${{ matrix.erlang_version }}
90-
elixir_version: ${{ matrix.elixir_version }}
110+
# elixir_version: # Latest Elixir
111+
# - '1.17'
112+
# uses: ./.github/workflows/test-make-type-check.yaml
113+
# with:
114+
# erlang_version: ${{ matrix.erlang_version }}
115+
# elixir_version: ${{ matrix.elixir_version }}

0 commit comments

Comments
 (0)