From f0ef3c4ca4545bd6093fca9a75a1d57f7f752839 Mon Sep 17 00:00:00 2001 From: Brenno Lemos Date: Tue, 23 May 2023 10:14:32 -0300 Subject: [PATCH] chore: adjust worflows to recursively clone the repository --- .github/workflows/continuous-build-freebsd.yml | 5 ++++- .github/workflows/continuous-build-linux.yml | 2 ++ .github/workflows/continuous-build-macos.yml | 8 +++++++- 3 files changed, 13 insertions(+), 2 deletions(-) diff --git a/.github/workflows/continuous-build-freebsd.yml b/.github/workflows/continuous-build-freebsd.yml index c920cd4..b341211 100644 --- a/.github/workflows/continuous-build-freebsd.yml +++ b/.github/workflows/continuous-build-freebsd.yml @@ -30,6 +30,9 @@ jobs: runs-on: macos-12 steps: - uses: actions/checkout@v3 + with: + submodules: recursive + - name: Compile uses: vmactions/freebsd-vm@v0 with: @@ -43,8 +46,8 @@ jobs: GIT_HASH=$(git rev-parse --short "$GITHUB_SHA") mv bin/btop bin/btop-$GIT_HASH ls -alh bin + - uses: actions/upload-artifact@v3 with: name: btop-x86_64-FreeBSD-13.1 path: 'bin/*' - diff --git a/.github/workflows/continuous-build-linux.yml b/.github/workflows/continuous-build-linux.yml index ab99798..58717dd 100644 --- a/.github/workflows/continuous-build-linux.yml +++ b/.github/workflows/continuous-build-linux.yml @@ -94,6 +94,8 @@ jobs: - name: Checkout source uses: actions/checkout@v3 + with: + submodules: recursive - name: Fix - Stopping at filesystem boundary run: git init # [fix Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).] diff --git a/.github/workflows/continuous-build-macos.yml b/.github/workflows/continuous-build-macos.yml index a593a46..717e9a7 100644 --- a/.github/workflows/continuous-build-macos.yml +++ b/.github/workflows/continuous-build-macos.yml @@ -30,6 +30,9 @@ jobs: runs-on: macos-11 steps: - uses: actions/checkout@v3 + with: + submodules: recursive + - name: Compile run: | make CXX=g++-11 ARCH=x86_64 STATIC=true STRIP=true @@ -49,7 +52,10 @@ jobs: with: xcode-version: latest-stable - - uses: actions/checkout@v3 + - uses: actions/checkout@v3 + with: + submodules: recursive + - name: Compile run: | make CXX=g++-12 ARCH=x86_64 STATIC=true STRIP=true