Skip to content

Commit

Permalink
build arm platform image nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
yixinglu committed Oct 31, 2021
1 parent 91525a6 commit 49d5095
Showing 1 changed file with 14 additions and 10 deletions.
24 changes: 14 additions & 10 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,17 +62,21 @@ jobs:
- tools
steps:
- uses: actions/checkout@v2
- name: Build and push Docker images
uses: docker/build-push-action@v1
- uses: docker/setup-qemu-action@v1
- uses: docker/setup-buildx-action@v1
- uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
repository: vesoft/nebula-${{ matrix.service }}
path: .
dockerfile: docker/Dockerfile.${{ matrix.service }}
tags: nightly,v2-nightly
cache_froms: vesoft/nebula-dev:centos7
add_git_labels: true
- uses: docker/build-push-action@v2
with:
context: .
file: ./docker/Dockerfile.${{ matrix.service }}
platforms: linux/amd64,linux/arm64
tags: |
vesoft/nebula-${{ matrix.service }}:nightly
vesoft/nebula-${{ matrix.service }}:v2-nightly
push: true

coverage:
name: coverage
Expand Down Expand Up @@ -113,12 +117,12 @@ jobs:
-DENABLE_TESTING=on \
-DENABLE_COVERAGE=on \
-B build
echo "::set-output name=j::10"
echo "::set-output name=j::8"
echo "::set-output name=t::6"
- name: Make
run: |
ccache -z
cmake --build build/ -j $(nproc) --target nebula-metad nebula-storaged nebula-graphd
cmake --build build/ -j ${{ steps.cmake.outputs.j }} --target nebula-metad nebula-storaged nebula-graphd
cmake --build build/ -j ${{ steps.cmake.outputs.t }}
ccache -s
- name: CTest
Expand Down

0 comments on commit 49d5095

Please sign in to comment.