pull_request_target:
branches:
- tizen
- - action
jobs:
- Tizen_Unified_GBS_Build:
+ Tizen_Unified_armv7l_GBS_Build:
runs-on: [ code-linux, code-large ]
container:
image: actions-docker.bart.sec.samsung.net/docker-gbs-base:ubuntu-20.04
options: --user root --privileged
steps:
- - name: proxy setting
- uses: code-actions/setup-proxy@main
- with:
- location: seoulrnd
-
- - name: Setup .NET
- uses: code-actions/setup-dotnet@v1
- with:
- dotnet-version: '6.0.310'
-
- - name: Checkout
- uses: code-actions/checkout@v3
-
- - name: Build
- run: |
- gbs -c .github/gbs.conf build -A armv7l --include-all --clean -P Tizen-Unified
- if: success()
-
- - name: Upload artifacts
- uses: code-actions/upload-artifact@v3
- with:
- name: launcher-rpm-Tizen-Unified-armv7l
- path: .GBS-ROOT/launcher-Unified/local/repos/Tizen_Unified/armv7l/RPMS/*.rpm
- if: success()
-
- - name: Leave comment
- if: failure()
- uses: code-actions/github-script@v5
- with:
- script: |
- github.rest.issues.createComment({
- owner: context.repo.owner,
- repo: context.repo.repo,
- issue_number: context.issue.number,
- body: 'Please check the build status.'
- })
-
- Tizen_Unified_X_RPI4_GBS_Build:
+ - name: Setup .NET
+ uses: code-actions/setup-dotnet@v1
+ with:
+ dotnet-version: '6.0.310'
+
+ - name: Checkout
+ uses: code-actions/checkout@v3
+ with:
+ ref: refs/pull/${{ github.event.pull_request.number }}/head
+
+ - name: Build
+ run: |
+ gbs -c .github/gbs.conf build -A armv7l --include-all --clean -P Tizen-Unified
+ if: success()
+
+ - name: Upload artifacts
+ uses: code-actions/upload-artifact@v3
+ with:
+ name: launcher-rpm-Tizen-Unified-armv7l
+ path: .GBS-ROOT/launcher-Unified/local/repos/Tizen_Unified/armv7l/RPMS/*.rpm
+ if: success()
+
+ - name: Leave comment
+ if: failure()
+ uses: code-actions/github-script@v5
+ with:
+ script: |
+ github.rest.issues.createComment({
+ owner: context.repo.owner,
+ repo: context.repo.repo,
+ issue_number: context.issue.number,
+ body: 'Please check the build status of Tizen_Unified_armv7l.'
+ })
+
+ Tizen_Unified_X_armv7l_GBS_Build:
runs-on: [ code-linux, code-large ]
container:
image: actions-docker.bart.sec.samsung.net/docker-gbs-base:ubuntu-20.04
options: --user root --privileged
steps:
- - name: proxy setting
- uses: code-actions/setup-proxy@main
- with:
- location: seoulrnd
-
- - name: Setup .NET
- uses: code-actions/setup-dotnet@v1
- with:
- dotnet-version: '6.0.310'
-
- - name: Checkout
- uses: code-actions/checkout@v3
-
- - name: Build
- run: |
- gbs -c .github/gbs.conf build -A armv7l --include-all --clean -P Tizen-Unified-X
- if: success()
-
- - name: Upload artifacts
- uses: code-actions/upload-artifact@v3
- with:
- name: launcher-rpm-Tizen-Unified-X-RPI4-armv7l
- path: .GBS-ROOT/launcher-Unified-X/local/repos/Tizen_Unified_X/armv7l/RPMS/*.rpm
- if: success()
-
- - name: Leave comment
- if: failure()
- uses: code-actions/github-script@v5
- with:
- script: |
- github.rest.issues.createComment({
- owner: context.repo.owner,
- repo: context.repo.repo,
- issue_number: context.issue.number,
- body: 'Please check the build status.'
- })
-
- Tizen_Unified_X_VF2_GBS_Build:
+ - name: Setup .NET
+ uses: code-actions/setup-dotnet@v1
+ with:
+ dotnet-version: '6.0.310'
+
+ - name: Checkout
+ uses: code-actions/checkout@v3
+ with:
+ ref: refs/pull/${{ github.event.pull_request.number }}/head
+
+ - name: Build
+ run: |
+ gbs -c .github/gbs.conf build -A armv7l --include-all --clean -P Tizen-Unified-X
+ if: success()
+
+ - name: Upload artifacts
+ uses: code-actions/upload-artifact@v3
+ with:
+ name: launcher-rpm-Tizen-Unified-X-RPI4-armv7l
+ path: .GBS-ROOT/launcher-Unified-X/local/repos/Tizen_Unified_X/armv7l/RPMS/*.rpm
+ if: success()
+
+ - name: Leave comment
+ if: failure()
+ uses: code-actions/github-script@v5
+ with:
+ script: |
+ github.rest.issues.createComment({
+ owner: context.repo.owner,
+ repo: context.repo.repo,
+ issue_number: context.issue.number,
+ body: 'Please check the build status of Tizen_Unified_X_armv7l.'
+ })
+
+ Tizen_Unified_X_riscv64_GBS_Build:
runs-on: [ code-linux, code-large ]
container:
image: actions-docker.bart.sec.samsung.net/docker-gbs-base:ubuntu-20.04
options: --user root --privileged
steps:
- - name: proxy setting
- uses: code-actions/setup-proxy@main
- with:
- location: seoulrnd
-
- - name: Setup .NET
- uses: code-actions/setup-dotnet@v1
- with:
- dotnet-version: '6.0.310'
-
- - name: Checkout
- uses: code-actions/checkout@v3
-
- - name: Build
- run: |
- gbs -c .github/gbs.conf build -A riscv64 --include-all --clean -P Tizen-Unified-X
- if: success()
-
- - name: Upload artifacts
- uses: code-actions/upload-artifact@v3
- with:
- name: launcher-rpm-Tizen-Unified-X-VF2-riscv64
- path: .GBS-ROOT/launcher-Unified-X/local/repos/Tizen_Unified_X/riscv64/RPMS/*.rpm
- if: success()
-
- - name: Leave comment
- if: failure()
- uses: code-actions/github-script@v5
- with:
- script: |
- github.rest.issues.createComment({
- owner: context.repo.owner,
- repo: context.repo.repo,
- issue_number: context.issue.number,
- body: 'Please check the build status.'
- })
-
- VD_PontusM_GBS_Build:
+ - name: Setup .NET
+ uses: code-actions/setup-dotnet@v1
+ with:
+ dotnet-version: '6.0.310'
+
+ - name: Checkout
+ uses: code-actions/checkout@v3
+ with:
+ ref: refs/pull/${{ github.event.pull_request.number }}/head
+
+ - name: Build
+ run: |
+ gbs -c .github/gbs.conf build -A riscv64 --include-all --clean -P Tizen-Unified-X
+ if: success()
+
+ - name: Upload artifacts
+ uses: code-actions/upload-artifact@v3
+ with:
+ name: launcher-rpm-Tizen-Unified-X-VF2-riscv64
+ path: .GBS-ROOT/launcher-Unified-X/local/repos/Tizen_Unified_X/riscv64/RPMS/*.rpm
+ if: success()
+
+ - name: Leave comment
+ if: failure()
+ uses: code-actions/github-script@v5
+ with:
+ script: |
+ github.rest.issues.createComment({
+ owner: context.repo.owner,
+ repo: context.repo.repo,
+ issue_number: context.issue.number,
+ body: 'Please check the build status of Tizen_Unified_X_riscv64.'
+ })
+
+ VD_PontusM_armv7l_GBS_Build:
runs-on: [ code-linux, code-large ]
container:
image: actions-docker.bart.sec.samsung.net/docker-gbs-base:ubuntu-20.04
options: --user root --privileged
steps:
- - name: proxy setting
- uses: code-actions/setup-proxy@main
- with:
- location: seoulrnd
-
- - name: Setup .NET
- uses: code-actions/setup-dotnet@v1
- with:
- dotnet-version: '6.0.310'
-
- - name: Checkout
- uses: code-actions/checkout@v3
-
- - name: Build
- run: |
- gbs -c .github/gbs.conf build -A armv7l --include-all --clean -P VD-PontusM
- if: success()
-
- - name: Upload artifacts
- uses: code-actions/upload-artifact@v3
- with:
- name: launcher-rpm-VD-PontusM-armv7l
- path: .GBS-ROOT/launcher-PontusM/local/repos/VD_PontusM/armv7l/RPMS/*.rpm
- if: success()
-
- - name: Leave comment
- if: failure()
- uses: code-actions/github-script@v5
- with:
- script: |
- github.rest.issues.createComment({
- owner: context.repo.owner,
- repo: context.repo.repo,
- issue_number: context.issue.number,
- body: 'Please check the build status.'
- })
-
-# VD_KantSU2e_build:
+ - name: Setup .NET
+ uses: code-actions/setup-dotnet@v1
+ with:
+ dotnet-version: '6.0.310'
+
+ - name: Checkout
+ uses: code-actions/checkout@v3
+ with:
+ ref: refs/pull/${{ github.event.pull_request.number }}/head
+
+ - name: Build
+ run: |
+ gbs -c .github/gbs.conf build -A armv7l --include-all --clean -P VD-PontusM
+ if: success()
+
+ - name: Upload artifacts
+ uses: code-actions/upload-artifact@v3
+ with:
+ name: launcher-rpm-VD-PontusM-armv7l
+ path: .GBS-ROOT/launcher-PontusM/local/repos/VD_PontusM/armv7l/RPMS/*.rpm
+ if: success()
+
+ - name: Leave comment
+ if: failure()
+ uses: code-actions/github-script@v5
+ with:
+ script: |
+ github.rest.issues.createComment({
+ owner: context.repo.owner,
+ repo: context.repo.repo,
+ issue_number: context.issue.number,
+ body: 'Please check the build status of VD_PontusM_armv7l.'
+ })
+
+# VD_KantSU2e_armv7l_GBS_build:
# runs-on: [ code-linux, code-large ]
# container:
# image: actions-docker.bart.sec.samsung.net/docker-gbs-base:ubuntu-20.04
# options: --user root --privileged
# steps:
-# - name: proxy setting
-# uses: code-actions/setup-proxy@main
-# with:
-# location: seoulrnd
-
-# - name: Setup .NET
-# uses: code-actions/setup-dotnet@v1
-# with:
-# dotnet-version: '6.0.310'
-
-# - name: Checkout
-# uses: code-actions/checkout@v3
-
-# - name: Build
-# run: |
-# gbs -c .github/gbs.conf build -A armv7l --include-all -P VD-KantSU2e
-# if: success()
-
-# - name: Upload artifacts
-# uses: code-actions/upload-artifact@v3
-# with:
-# name: launcher-rpm-VD-KantSU2e-armv7l
-# path: .GBS-ROOT/launcher-KantSU2e/local/repos/VD_KantSU2e/armv7l/RPMS/*.rpm
-# if: success()
+# - name: Setup .NET
+# uses: code-actions/setup-dotnet@v1
+# with:
+# dotnet-version: '6.0.310'
-# - name: Leave comment
-# if: failure()
-# uses: code-actions/github-script@v5
+# - name: Checkout
+# uses: code-actions/checkout@v3
# with:
-# script: |
-# github.rest.issues.createComment({
-# owner: context.repo.owner,
-# repo: context.repo.repo,
-# issue_number: context.issue.number,
-# body: 'Please check the build status.'
-# })
+# ref: refs/pull/${{ github.event.pull_request.number }}/head
+
+# - name: Build
+# run: |
+# gbs -c .github/gbs.conf build -A armv7l --include-all -P VD-KantSU2e
+# if: success()
+
+# - name: Upload artifacts
+# uses: code-actions/upload-artifact@v3
+# with:
+# name: launcher-rpm-VD-KantSU2e-armv7l
+# path: .GBS-ROOT/launcher-KantSU2e/local/repos/VD_KantSU2e/armv7l/RPMS/*.rpm
+# if: success()
+
+# - name: Leave comment
+# if: failure()
+# uses: code-actions/github-script@v5
+# with:
+# script: |
+# github.rest.issues.createComment({
+# owner: context.repo.owner,
+# repo: context.repo.repo,
+# issue_number: context.issue.number,
+# body: 'Please check the build status of VD_KantSU2e_armv7l.'
+# })
pull_request_target:
branches:
- tizen
- - action
jobs:
- Tizen_Unified_GBS_Build:
+ Tizen_Unified_armv7l_GBS_Build:
runs-on: [ code-linux, code-large ]
container:
image: actions-docker.bart.sec.samsung.net/docker-gbs-base:ubuntu-20.04
options: --user root --privileged
steps:
- - name: proxy setting
- uses: code-actions/setup-proxy@main
- with:
- location: seoulrnd
-
- - name: Setup .NET
- uses: code-actions/setup-dotnet@v1
- with:
- dotnet-version: '6.0.310'
-
- - name: Checkout
- uses: code-actions/checkout@v3
-
- - name: Build
- run: |
- gbs -c .github/gbs.conf build -A armv7l --include-all --clean -P Tizen-Unified
- if: success()
-
- - name: Upload artifacts
- uses: code-actions/upload-artifact@v3
- with:
- name: launcher-rpm-Tizen-Unified-armv7l
- path: .GBS-ROOT/launcher-Unified/local/repos/Tizen_Unified/armv7l/RPMS/*.rpm
- if: success()
-
- - name: Leave comment
- if: failure()
- uses: code-actions/github-script@v5
- with:
- script: |
- github.rest.issues.createComment({
- owner: context.repo.owner,
- repo: context.repo.repo,
- issue_number: context.issue.number,
- body: 'Please check the build status.'
- })
+ - name: Setup .NET
+ uses: code-actions/setup-dotnet@v1
+ with:
+ dotnet-version: '6.0.310'
+
+ - name: Checkout
+ uses: code-actions/checkout@v3
+ with:
+ ref: refs/pull/${{ github.event.pull_request.number }}/head
+
+ - name: Build
+ run: |
+ gbs -c .github/gbs.conf build -A armv7l --include-all --clean -P Tizen-Unified
+ if: success()
+
+ - name: Upload artifacts
+ uses: code-actions/upload-artifact@v3
+ with:
+ name: launcher-rpm-Tizen-Unified-armv7l
+ path: .GBS-ROOT/launcher-Unified/local/repos/Tizen_Unified/armv7l/RPMS/*.rpm
+ if: success()
+
+ - name: Leave comment
+ if: failure()
+ uses: code-actions/github-script@v5
+ with:
+ script: |
+ github.rest.issues.createComment({
+ owner: context.repo.owner,
+ repo: context.repo.repo,
+ issue_number: context.issue.number,
+ body: 'Please check the build status.'
+ })
Tizen_Unified_launcher_performance:
runs-on: [ self-hosted ]
- needs: Tizen_Unified_GBS_Build
+ needs: Tizen_Unified_armv7l_GBS_Build
steps:
- name: Checkout
uses: code-actions/checkout@v3
+ with:
+ ref: refs/pull/${{ github.event.pull_request.number }}/head
- name: Connect RPI4
shell: bash
shell: bash
run: |
ls ./
- sdb -d push ./dotnet-launcher-6.0.9-1.armv7l.rpm /root
- sdb -d shell rpm -Uvh --force /root/dotnet-launcher-6.0.9-1.armv7l.rpm
+ sdb -d shell rm /root/dotnet-launcher-*.rpm
+ sdb -d push ./dotnet-launcher-[0-9]*.armv7l.rpm /root
+ sdb -d shell rpm -Uvh --force /root/dotnet-launcher-[0-9]*.armv7l.rpm
sdb -d shell "setcap cap_setgid,cap_sys_admin+ei /usr/bin/dotnet && setcap cap_setgid,cap_sys_admin+ei /usr/bin/dotnet-loader && setcap cap_setgid,cap_sys_admin+ei /usr/bin/dotnet-launcher && setcap cap_setgid,cap_sys_admin+ei /usr/bin/dotnet-hydra-loader"
sdb -d shell "killall -9 dotnet-loader"
sleep 30
steps:
- name: Checkout
uses: code-actions/checkout@v3
+ with:
+ ref: refs/pull/${{ github.event.pull_request.number }}/head
- name: Build TC
shell: bash
shell: bash
run: |
ls ./
- sdb -d push ./dotnet-launcher-6.0.9-1.armv7l.rpm /root
- sdb -d shell rpm -Uvh --force /root/dotnet-launcher-6.0.9-1.armv7l.rpm
+ sdb -d shell rm /root/dotnet-launcher-*.rpm
+ sdb -d push ./dotnet-launcher-[0-9]*.armv7l.rpm /root
+ sdb -d shell rpm -Uvh --force /root/dotnet-launcher-[0-9]*.armv7l.rpm
sdb -d shell "setcap cap_setgid,cap_sys_admin+ei /usr/bin/dotnet && setcap cap_setgid,cap_sys_admin+ei /usr/bin/dotnet-loader && setcap cap_setgid,cap_sys_admin+ei /usr/bin/dotnet-launcher && setcap cap_setgid,cap_sys_admin+ei /usr/bin/dotnet-hydra-loader"
sdb -d shell "killall -9 dotnet-loader"
sdb -d shell "cat /etc/info.ini" >> ./tests/TCs/device.info
steps:
- name: Checkout
uses: code-actions/checkout@v3
+ with:
+ ref: refs/pull/${{ github.event.pull_request.number }}/head
- name: Connect RPI4
shell: bash