env:
P4PORT: ${{ secrets.P4PORT }}
P4USER: ${{ secrets.P4USER }}
+ P4PASSWD: ${{ secrets.P4PASSWD }}
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- name: Check out code
uses: code-actions/checkout@v2
+ - name: Setup working directory
+ run: |
+ pwd \;
+ cd /tmp
+
- name: P4 setup
uses: code-actions/perforce-setup-p4@v1
with:
- p4_version: 21.2
-
- - name: P4 login
- uses: code-actions/perforce-setup-p4@v1
- with:
command: login
- env:
- P4PASSWD: ${{ secrets.P4PASSWD }}
+ p4_version: 21.2
# Create a workspace
- name: p4 client
SubmitOptions: leaveunchanged
LineEnd: local
View:
- //TIZEN/[MAIN]/[ONEPROD_Prj]/[DEV]/[PLATFORM]/[MMP_PPI_SRCN]/PPI/capi-trackrenderer-tv/... //github-actions-setup-p4/projects/TIZEN/ONEMAIN/DEV/PLATFORM/MMP_PPI_SRCN/PPI/capi-trackrenderer-tv/...
+ //TIZEN/[MAIN]/[ONEPROD_Prj]/[DEV]/[PLATFORM]/[MMP_PPI_SRCN]/PPI/capi-trackrenderer-tv/... //github-actions-setup-p4/TIZEN/ONEMAIN/DEV/PLATFORM/MMP_PPI_SRCN/PPI/capi-trackrenderer-tv/...
# pull down assets from Helix Core
- name: p4 sync
- name: Build using tizen gbs
run: |
- cd /tmp/TIZEN/ONEMAIN/DEV/PLATFORM/MMP_PPI_SRCN/PPI/capi-trackrenderer-tv/
+ cd /tmp/TIZEN/ONEMAIN/DEV/PLATFORM/MMP_PPI_SRCN/PPI/capi-trackrenderer-tv \;
gbs build -A armv7l -R ${{ secrets.BASE_REPO_URL }} -R ${{ secrets.PROD_REPO_URL }} --include-all --clean --incremental --define "enable_ut ON" --define "vd_gcov ON"