1 name: upload debian package for focal
6 # scheduled workflow run on the latest commit on the default or base
8 - cron: '00 01 * * 0-5'
11 ART_REPO: https://art.sec.samsung.net/artifactory/aip_generic/NPU_SystemService
12 ART_ID: ${{ secrets.ARTIFACTORY_ID }}
13 ART_PW: ${{ secrets.ARTIFACTORY_PW }}
16 build-and-upload-focal:
18 runs-on: [ code-large ]
20 image: art.sec.samsung.net/aip_docker/n2s2_docker/focal:latest
25 - name: Get current date
27 run: echo "::set-output name=date::$(date +'%Y%m%d')"
28 - name: Clone your repository
29 uses: CODE-Actions/checkout@v2
30 - name: Make debian packages
31 uses: ./.github/actions/build-ubuntu
33 output_path: /tmp/debs
34 - name: Upload unittest result
35 uses: CODE-Actions/upload-artifact@v2
37 name: unittest for Focal
39 build/tests/unittests/core*.xml
40 build/tests/unittests/unittest*.xml
41 - name: Test using apptest
42 uses: ./.github/actions/test-ubuntu
44 package_path: /tmp/debs/npu-engine*.deb
45 - name: Upload to artifactory
46 uses: ./.github/actions/upload-artifacts
50 art_repo: $ART_REPO/${{ steps.date.outputs.date }}/focal
54 uses: ./.github/actions/upload-artifacts
58 art_repo: $ART_REPO/latest/focal