Add lfs checkout to CI
This commit is contained in:
parent
af866f126b
commit
eb7e4b08f6
1 changed files with 18 additions and 0 deletions
18
.github/workflows/build.yml
vendored
18
.github/workflows/build.yml
vendored
|
|
@ -20,6 +20,9 @@ jobs:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
|
lfs: true
|
||||||
|
- name: Fetch LFS objects
|
||||||
|
run: git lfs checkout
|
||||||
- name: Set up dependencies
|
- name: Set up dependencies
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update && \
|
sudo apt-get update && \
|
||||||
|
|
@ -40,6 +43,9 @@ jobs:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
|
lfs: true
|
||||||
|
- name: Fetch LFS objects
|
||||||
|
run: git lfs checkout
|
||||||
- name: Set up dependencies
|
- name: Set up dependencies
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update && \
|
sudo apt-get update && \
|
||||||
|
|
@ -111,6 +117,9 @@ jobs:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
|
lfs: true
|
||||||
|
- name: Fetch LFS objects
|
||||||
|
run: git lfs checkout
|
||||||
- name: Fix up MOD environment
|
- name: Fix up MOD environment
|
||||||
shell: bash
|
shell: bash
|
||||||
run: ln -sf /home/builder/mod-workdir ~/mod-workdir
|
run: ln -sf /home/builder/mod-workdir ~/mod-workdir
|
||||||
|
|
@ -161,6 +170,9 @@ jobs:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
|
lfs: true
|
||||||
|
- name: Fetch LFS objects
|
||||||
|
run: git lfs checkout
|
||||||
- name: Create Build Environment
|
- name: Create Build Environment
|
||||||
working-directory: ${{runner.workspace}}
|
working-directory: ${{runner.workspace}}
|
||||||
run: cmake -E make_directory build
|
run: cmake -E make_directory build
|
||||||
|
|
@ -273,6 +285,9 @@ jobs:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
|
lfs: true
|
||||||
|
- name: Fetch LFS objects
|
||||||
|
run: git lfs checkout
|
||||||
- name: Build with GNU make
|
- name: Build with GNU make
|
||||||
shell: bash
|
shell: bash
|
||||||
run: make -C "$GITHUB_WORKSPACE" -f generic.mk -j2
|
run: make -C "$GITHUB_WORKSPACE" -f generic.mk -j2
|
||||||
|
|
@ -308,6 +323,9 @@ jobs:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
|
lfs: true
|
||||||
|
- name: Fetch LFS objects
|
||||||
|
run: git lfs checkout
|
||||||
- name: Set up dependencies
|
- name: Set up dependencies
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update && \
|
sudo apt-get update && \
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue