--- /dev/null
+name: "GBS build"
+
+on:
+ pull_request_target:
+ branches:
+ - tizen
+ - action
+
+jobs:
+ Tizen_Unified_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:
+ 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:
+ 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:
+ 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:
+# 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: 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.'
+# })