mirror of https://github.com/lnis-uofu/SOFA.git
[CI] Added submodule fetch
This commit is contained in:
parent
29deb0feea
commit
d286166d57
|
@ -48,17 +48,18 @@ jobs:
|
||||||
with:
|
with:
|
||||||
repository: lnis-uofu/OpenFPGA
|
repository: lnis-uofu/OpenFPGA
|
||||||
path: OpenFPGA
|
path: OpenFPGA
|
||||||
|
submodules: true
|
||||||
|
|
||||||
- name: Install dependency
|
- name: Install dependency
|
||||||
run: source ./.github/workflows/install_dependency.sh
|
run: source ./.github/workflows/install_dependency.sh
|
||||||
|
|
||||||
- name: Checkout CMake version
|
- name: Checkout CMake version
|
||||||
run: cmake --version
|
run: cmake --version
|
||||||
|
|
||||||
- name: Checkout iVerilog version
|
- name: Checkout iVerilog version
|
||||||
run: |
|
run: |
|
||||||
iverilog -V
|
iverilog -V
|
||||||
vvp -V
|
vvp -V
|
||||||
|
|
||||||
- name: Create CMake build environment
|
- name: Create CMake build environment
|
||||||
# Some projects don't allow in-source building, so create a separate build directory
|
# Some projects don't allow in-source building, so create a separate build directory
|
||||||
|
@ -70,8 +71,8 @@ jobs:
|
||||||
# access regardless of the host operating system
|
# access regardless of the host operating system
|
||||||
shell: bash
|
shell: bash
|
||||||
working-directory: ${{runner.workspace}}/OpenFPGA/build
|
working-directory: ${{runner.workspace}}/OpenFPGA/build
|
||||||
# Note the current convention is to use the -S and -B options here to specify source
|
# Note the current convention is to use the -S and -B options here to specify source
|
||||||
# and build directories, but this is only available with CMake 3.13 and higher.
|
# and build directories, but this is only available with CMake 3.13 and higher.
|
||||||
# The CMake binaries on the Github Actions machines are (as of this writing) 3.12
|
# The CMake binaries on the Github Actions machines are (as of this writing) 3.12
|
||||||
run: |
|
run: |
|
||||||
export CC=${{ matrix.config.cc }}
|
export CC=${{ matrix.config.cc }}
|
||||||
|
@ -83,10 +84,10 @@ jobs:
|
||||||
shell: bash
|
shell: bash
|
||||||
# Execute the build. You can specify a specific target with "--target <NAME>"
|
# Execute the build. You can specify a specific target with "--target <NAME>"
|
||||||
run: |
|
run: |
|
||||||
cmake --build . --config $BUILD_TYPE
|
cmake --build . --config $BUILD_TYPE
|
||||||
|
|
||||||
- name: ${{matrix.config.name}}
|
- name: ${{matrix.config.name}}
|
||||||
if: contains(matrix.config.name, 'Quick Test')
|
if: contains(matrix.config.name, 'Quick Test')
|
||||||
shell: bash
|
shell: bash
|
||||||
# Execute the test.
|
# Execute the test.
|
||||||
run: source ./.github/workflows/${{matrix.config.reg_script}}
|
run: source ./.github/workflows/${{matrix.config.reg_script}}
|
||||||
|
|
Loading…
Reference in New Issue