Skip to content

Commit 73efe07

Browse files
committed
Add git submodule initialization to GitHub Actions workflows
1 parent 41d37be commit 73efe07

2 files changed

Lines changed: 17 additions & 0 deletions

File tree

.github/workflows/run-bench.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,9 @@ jobs:
129129
ref: ${{ matrix.branch }}
130130
fetch-depth: 0
131131

132+
- name: Initialize Git Submodules
133+
run: git submodule update --init
134+
132135
# ==========================================
133136
# Decode and write the protected dataset catalog
134137
#
@@ -250,6 +253,9 @@ jobs:
250253
- name: Checkout repository
251254
uses: actions/checkout@v4
252255

256+
- name: Initialize Git Submodules
257+
run: git submodule update --init
258+
253259
- name: Download all benchmark results
254260
uses: actions/download-artifact@v4
255261
with:

.github/workflows/unit-tests.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,12 @@ jobs:
4040
- name: Set up GCC
4141
run: |
4242
sudo apt install -y gcc
43+
- name: Install Meson and Ninja
44+
run: |
45+
sudo apt update && sudo apt install -y meson ninja-build
4346
- uses: actions/checkout@v4
47+
- name: Initialize Git Submodules
48+
run: git submodule update --init --recursive
4449
- name: Set up JDK ${{ matrix.jdk }}
4550
uses: actions/setup-java@v3
4651
with:
@@ -102,6 +107,8 @@ jobs:
102107
runs-on: ${{ matrix.os }}
103108
steps:
104109
- uses: actions/checkout@v4
110+
- name: Initialize Git Submodules
111+
run: git submodule update --init --recursive
105112
- name: Set up JDK
106113
uses: actions/setup-java@v3
107114
with:
@@ -112,6 +119,10 @@ jobs:
112119
if: matrix.os == 'ubuntu-latest'
113120
run: |
114121
sudo apt install -y gcc
122+
- name: Install Meson and Ninja
123+
if: matrix.os == 'ubuntu-latest'
124+
run: |
125+
sudo apt update && sudo apt install -y meson ninja-build
115126
- name: Compile, run tests, and package (JDK 22)
116127
run: mvn -B verify
117128
if: matrix.jdk == '22'

0 commit comments

Comments
 (0)