[ci] now checkout all the submodules by default

This commit is contained in:
tangxifan 2024-06-04 16:15:26 -07:00
parent 485c7f5b01
commit e27c969ed8
2 changed files with 30 additions and 12 deletions

View File

@ -35,7 +35,7 @@ jobs:
access_token: ${{ github.token }}
- name: Checkout OpenFPGA repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
@ -118,9 +118,9 @@ jobs:
access_token: ${{ github.token }}
- name: Checkout OpenFPGA repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
persist-credentials: false
submodules: true
- name: Install dependencies
run: sudo bash ./.github/workflows/install_dependencies_build_${{ matrix.config.dependency_version }}.sh
@ -216,7 +216,9 @@ jobs:
access_token: ${{ github.token }}
- name: Checkout OpenFPGA repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: true
- name: Install dependencies
run: sudo bash ./.github/workflows/install_dependencies_build_${{ matrix.config.dependency_version }}.sh
@ -262,7 +264,9 @@ jobs:
access_token: ${{ github.token }}
- name: Checkout OpenFPGA repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: true
- name: Install dependencies
run: sudo bash ./.github/workflows/install_dependencies_build_${{ matrix.config.dependency_version }}.sh
@ -308,7 +312,9 @@ jobs:
access_token: ${{ github.token }}
- name: Checkout OpenFPGA repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: true
- name: Install dependencies
run: |
@ -360,7 +366,9 @@ jobs:
access_token: ${{ github.token }}
- name: Checkout OpenFPGA repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: true
- name: Install dependencies
run: |
@ -397,7 +405,9 @@ jobs:
access_token: ${{ github.token }}
- name: Checkout OpenFPGA repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: true
- name: Download a built artifacts
uses: actions/download-artifact@v2
with:
@ -450,7 +460,9 @@ jobs:
access_token: ${{ github.token }}
- name: Checkout OpenFPGA repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: true
- name: Download a built artifacts
uses: actions/download-artifact@v2
with:
@ -508,7 +520,9 @@ jobs:
access_token: ${{ github.token }}
- name: Checkout OpenFPGA repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: true
- name: ${{matrix.config.name}}_GCC-11_(Ubuntu 22.04)
shell: bash

View File

@ -31,7 +31,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
submodules: true
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
@ -74,7 +76,9 @@ jobs:
- clang-14
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
submodules: true
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx