Skip to content

Commit

Permalink
adds submodules cloning for github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
serghov committed Jul 10, 2024
1 parent e24ae7c commit 9027573
Show file tree
Hide file tree
Showing 12 changed files with 56 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/nightly_Linux_distributions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ jobs:

steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Install dependencies
run: ./ci/install_dependencies.sh
- name: Build and install
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/on_PR_linux_matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ jobs:

steps:
- uses: actions/checkout@v4
with:
submodules: true

- name: Install dependencies
run: |
Expand Down
9 changes: 9 additions & 0 deletions .github/workflows/on_PR_linux_special_builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
submodules: true
fetch-depth: 2
# Trying to deal with warning: -> Issue detecting commit SHA. Please run actions/checkout with fetch-depth > 1 or set to 0

Expand Down Expand Up @@ -65,6 +66,8 @@ jobs:

steps:
- uses: actions/checkout@v4
with:
submodules: true

- name: Install dependencies
run: |
Expand Down Expand Up @@ -100,6 +103,8 @@ jobs:

steps:
- uses: actions/checkout@v4
with:
submodules: true

- name: Install dependencies
run: |
Expand Down Expand Up @@ -134,6 +139,8 @@ jobs:

steps:
- uses: actions/checkout@v4
with:
submodules: true

- name: Install dependencies
run: |
Expand All @@ -156,6 +163,8 @@ jobs:

steps:
- uses: actions/checkout@v4
with:
submodules: true

- name: Install dependencies
run: |
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/on_PR_linux_staticAnalysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
submodules: true
fetch-depth: 2
# Trying to deal with warning: -> Issue detecting commit SHA. Please run actions/checkout with fetch-depth > 1 or set to 0

Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/on_PR_mac_matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ jobs:

steps:
- uses: actions/checkout@v4
with:
submodules: true

- name: Install dependencies
run: |
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/on_PR_mac_special_builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ jobs:

steps:
- uses: actions/checkout@v4
with:
submodules: true

- name: Install dependencies
run: |
Expand Down
16 changes: 16 additions & 0 deletions .github/workflows/on_PR_meson.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ jobs:
deps: ['forcefallback', 'default']
steps:
- uses: actions/checkout@v4
with:
submodules: true
- uses: egor-tensin/setup-gcc@v1
with:
version: ${{matrix.cxx}}
Expand All @@ -35,6 +37,8 @@ jobs:
deps: ['forcefallback', 'default']
steps:
- uses: actions/checkout@v4
with:
submodules: true
- uses: egor-tensin/setup-clang@v1
with:
version: ${{matrix.cxx}}
Expand All @@ -58,6 +62,8 @@ jobs:
platform: ['x64', 'x86']
steps:
- uses: actions/checkout@v4
with:
submodules: true

- name: Install packages
run: |
Expand All @@ -80,6 +86,8 @@ jobs:
deps: ['forcefallback', 'default']
steps:
- uses: actions/checkout@v4
with:
submodules: true

- name: Install packages
run: |
Expand Down Expand Up @@ -107,6 +115,8 @@ jobs:
shell: msys2 {0}
steps:
- uses: actions/checkout@v4
with:
submodules: true

- uses: msys2/setup-msys2@v2
with:
Expand Down Expand Up @@ -134,6 +144,8 @@ jobs:
deps: ['enabled', 'disabled']
steps:
- uses: actions/checkout@v4
with:
submodules: true

- name: Install packages
run: |
Expand All @@ -148,6 +160,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
- uses: vmactions/freebsd-vm@v1
with:
prepare: |
Expand All @@ -160,6 +174,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Install packages
run: |
python3 -m pip install meson ninja
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/on_PR_windows_matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ jobs:

steps:
- uses: actions/checkout@v4
with:
submodules: true

- name: Set up Visual Studio shell
uses: ilammy/msvc-dev-cmd@v1
Expand Down Expand Up @@ -94,6 +96,8 @@ jobs:

steps:
- uses: actions/checkout@v4
with:
submodules: true

- name: Set up MSYS2
uses: msys2/setup-msys2@v2
Expand Down Expand Up @@ -150,6 +154,8 @@ jobs:
- run: git config --global core.autocrlf input
shell: pwsh
- uses: actions/checkout@v4
with:
submodules: true

- name: Set up Cygwin
uses: cygwin/cygwin-install-action@v4
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/on_push_BasicWinLinMac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ jobs:

steps:
- uses: actions/checkout@v4
with:
submodules: true

- name: Set up Visual Studio shell
uses: ilammy/msvc-dev-cmd@v1
Expand Down Expand Up @@ -57,6 +59,8 @@ jobs:

steps:
- uses: actions/checkout@v4
with:
submodules: true

- name: Install dependencies
run: |
Expand Down Expand Up @@ -91,6 +95,8 @@ jobs:

steps:
- uses: actions/checkout@v4
with:
submodules: true

- name: Install dependencies
run: |
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/on_push_ExtraJobsForMain.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ jobs:

steps:
- uses: actions/checkout@v4
with:
submodules: true

- name: Install dependencies
run: |
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/on_push_clang_format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
- uses: DoozyX/clang-format-lint-action@v0.17
with:
source: '.'
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ jobs:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
submodules: true

- name: Install dependencies
run: |
Expand Down Expand Up @@ -58,6 +60,8 @@ jobs:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true

- name: Install dependencies
run: |
Expand Down Expand Up @@ -96,6 +100,8 @@ jobs:
runs-on: windows-2022
steps:
- uses: actions/checkout@v4
with:
submodules: true

- name: Set up Visual Studio shell
uses: ilammy/msvc-dev-cmd@v1
Expand Down

0 comments on commit 9027573

Please sign in to comment.