Skip to content

Commit e231184

Browse files
committed
Revise the build-circle-intp.yml workflow to test on private repo
ONE-DCO-1.0-Signed-off-by: Seungho Henry Park <shs.park@samsung.com>
1 parent 3880c4c commit e231184

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

.github/workflows/build-circle-intp.yml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,11 @@ concurrency:
1818

1919
jobs:
2020
onecc-test:
21-
if: github.repository_owner == 'Samsung'
21+
if: github.repository_owner == 'Samsung' || github.repository_owner == 'shs-park'
2222
strategy:
2323
matrix:
24-
ubuntu_code: [ focal, jammy ]
24+
# TODO activate jammy
25+
ubuntu_code: [ focal ]
2526
include:
2627
- ubuntu_code: focal
2728
ubuntu_ver: 2004
@@ -30,13 +31,15 @@ jobs:
3031
- ubuntu_code: jammy
3132
ubuntu_ver: 2204
3233
comment_id: 2658268060
33-
runs-on: ubuntu-latest
34+
# TODO change to the 'ubuntu-latest'
35+
#runs-on: ubuntu-latest
36+
runs-on: [ self-hosted, shs-park ]
3437
container:
3538
image: nnfw/one-devtools:${{ matrix.ubuntu_code }}
3639
options: --user root
3740
env:
38-
NNCC_WORKSPACE : build
39-
NNCC_INSTALL_PREFIX : install
41+
NNCC_WORKSPACE : build/debian
42+
NNCC_INSTALL_PREFIX : ${{ github.workspace }}/debian/tmp/usr/
4043
name: circle-interpreter ubuntu ${{ matrix.ubuntu_ver }}
4144

4245
steps:
@@ -87,8 +90,7 @@ jobs:
8790
uses: actions/upload-artifact@v4
8891
with:
8992
name: circle_intp_${{ matrix.ubuntu_ver }}
90-
# TODO enable retention-days, default is 90
91-
# retention-days: 3
93+
retention-days: 3
9294
path: |
9395
${{ env.NNCC_WORKSPACE }}/cirintp/
9496
@@ -98,6 +100,7 @@ jobs:
98100
- name: Update URL
99101
if: false
100102
run: |
103+
exit(1) # TODO enable posting comments
101104
echo "Artifact URL is ${{ steps.step-upload.outputs.artifact-url }}"
102105
COMMENT_ADDR=https://api.github.com/repos/Samsung/ONE/issues/comments/${{ matrix.comment_id }}
103106
curl -L \

0 commit comments

Comments
 (0)