From: 최종헌/MDE Lab(SR)/삼성전자 Date: Thu, 17 Apr 2025 00:58:07 +0000 (+0900) Subject: Update action script (#617) X-Git-Tag: accepted/tizen/unified/20250428.091730~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=51a95d660a2944153dcae48c0d88641e59a3dbb8;p=platform%2Fcore%2Fdotnet%2Flauncher.git Update action script (#617) Change-Id: I0434df98d881126e432884c33c10077733d8f62f --- diff --git a/.github/gbs.conf b/.github/gbs.conf index 9305077..f5ee563 100644 --- a/.github/gbs.conf +++ b/.github/gbs.conf @@ -2,6 +2,10 @@ repos = repo.Unified_base, repo.Unified_main buildroot = .GBS-ROOT/launcher-Unified +[profile.Tizen-Unified-riscv64] +repos = repo.Unified_base, repo.Unified_main +buildroot = .GBS-ROOT/launcher-Unified + [profile.VD-PontusM] repos = repo.VD_base, repo.VD_PontusM_main buildroot = .GBS-ROOT/launcher-PontusM diff --git a/.github/workflows/gbs-build.yml b/.github/workflows/gbs-build.yml index ce3baf7..f1a3602 100644 --- a/.github/workflows/gbs-build.yml +++ b/.github/workflows/gbs-build.yml @@ -46,6 +46,46 @@ jobs: body: 'Please check the build status of Tizen_Unified_armv7l.' }) + Tizen_Unified_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: 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-riscv64 + if: success() + + - name: Upload artifacts + uses: code-actions/upload-artifact@v3 + with: + name: launcher-rpm-Tizen-Unified-riscv64 + path: .GBS-ROOT/launcher-Unified/local/repos/Tizen_Unified/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_riscv64.' + }) + VD_PontusM_armv7l_GBS_Build: runs-on: [ code-linux, code-large ] container: @@ -126,7 +166,7 @@ jobs: body: 'Please check the build status of VD_KantSU2e_armv7l.' }) - VD_PontusV_armv7l_GBS_Build: + VD_PontusV_riscv64_GBS_Build: runs-on: [ code-linux, code-large ] container: image: actions-docker.bart.sec.samsung.net/docker-gbs-base:ubuntu-20.04 @@ -144,14 +184,14 @@ jobs: - name: Build run: | - gbs -c .github/gbs.conf build -A armv7l --include-all --clean -P VD-PontusV + gbs -c .github/gbs.conf build -A riscv64 --include-all --clean -P VD-PontusV if: success() - name: Upload artifacts uses: code-actions/upload-artifact@v3 with: - name: launcher-rpm-VD-PontusV-armv7l - path: .GBS-ROOT/launcher-PontusV/local/repos/VD_PontusV/armv7l/RPMS/*.rpm + name: launcher-rpm-VD-PontusV-riscv64 + path: .GBS-ROOT/launcher-PontusV/local/repos/VD_PontusV/riscv64/RPMS/*.rpm if: success() - name: Leave comment @@ -163,7 +203,7 @@ jobs: owner: context.repo.owner, repo: context.repo.repo, issue_number: context.issue.number, - body: 'Please check the build status of VD_PontusV_armv7l.' + body: 'Please check the build status of VD_PontusV_riscv64.' }) DA_armv7l_GBS_Build: