Skip to content

Commit 073d688

Browse files
committed
ci: update
Signed-off-by: Zone.N <zone.niuzh@hotmail.com>
1 parent a5627b1 commit 073d688

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/workflow.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ jobs:
3333
3434
- name: x86_64
3535
run: |
36-
docker run -v ${{ github.workspace }}:/workspace ${{ env.DOCKER_IMAGE }} -e CMAKE_BUILD_TYPE=${{ env.CMAKE_BUILD_TYPE }} \
37-
/bin/sh -c "cd /workspace cmake --preset=build_x86_64 && cmake --build build_x86_64 --target kernel && cmake --build build_x86_64 --target unit-test && cmake --build build_x86_64 --target coverage && cmake --build build_x86_64 --target doc"
36+
docker run -v ${{ github.workspace }}:/workspace -e CMAKE_BUILD_TYPE=${{ env.CMAKE_BUILD_TYPE }} ${{ env.DOCKER_IMAGE }} \
37+
/bin/sh -c "cd /workspace && cmake --preset=build_x86_64 && cmake --build build_x86_64 --target kernel && cmake --build build_x86_64 --target unit-test && cmake --build build_x86_64 --target coverage && cmake --build build_x86_64 --target doc"
3838
# cmake --preset=build_x86_64
3939
# cmake --build build_x86_64 --target boot
4040
# cmake --build build_x86_64 --target kernel
@@ -43,14 +43,14 @@ jobs:
4343
4444
- name: riscv64
4545
run: |
46-
docker run -v ${{ github.workspace }}:/workspace ${{ env.DOCKER_IMAGE }} -e CMAKE_BUILD_TYPE=${{ env.CMAKE_BUILD_TYPE }} \
46+
docker run -v ${{ github.workspace }}:/workspace -e CMAKE_BUILD_TYPE=${{ env.CMAKE_BUILD_TYPE }} ${{ env.DOCKER_IMAGE }} \
4747
/bin/sh -c "cd /workspace && cmake --preset=build_riscv64 && cmake --build build_riscv64 --target kernel"
4848
# cmake --preset=build_riscv64
4949
# cmake --build build_riscv64 --target kernel
5050
5151
- name: aarch64
5252
run: |
53-
docker run -v ${{ github.workspace }}:/workspace ${{ env.DOCKER_IMAGE }} -e CMAKE_BUILD_TYPE=${{ env.CMAKE_BUILD_TYPE }} \
53+
docker run -v ${{ github.workspace }}:/workspace -e CMAKE_BUILD_TYPE=${{ env.CMAKE_BUILD_TYPE }} ${{ env.DOCKER_IMAGE }} \
5454
/bin/sh -c "cd /workspace && cmake --preset=build_aarch64 && cmake --build build_aarch64 --target kernel"
5555
# cmake --preset=build_aarch64
5656
# cmake --build build_aarch64 --target boot

0 commit comments

Comments
 (0)