Skip to content

Commit

Permalink
Merge pull request #18 from manikandan-xilinx/master
Browse files Browse the repository at this point in the history
testing analyze action test failure
  • Loading branch information
manikandan-xilinx authored Dec 13, 2023
2 parents 712c824 + 73cd74d commit 09059fc
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 45 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/README.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
## WIP - This directory contains all the Github Action Workflows.....
## WIP - This directory contains all the Github Action Workflows......
88 changes: 44 additions & 44 deletions .github/workflows/xrt_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@ jobs:
include:
- os: centos78
packageType: rpm
- os: centos8
packageType: rpm
- os: rhel9
packageType: rpm
- os: ubuntu2004
packageType: deb
- os: ubuntu2204
packageType: deb
# - os: centos8
# packageType: rpm
# - os: rhel9
# packageType: rpm
# - os: ubuntu2004
# packageType: deb
# - os: ubuntu2204
# packageType: deb

runs-on: [self-hosted, Ubuntu-22.04]
steps:
Expand Down Expand Up @@ -102,45 +102,45 @@ jobs:
workspaceg: ${{ github.workspace }}
github-server-url: ${{ secrets.SERVER_URL }}

apu-package-build:
runs-on: apu
# runs-on: Ubuntu-20.04
steps:
- name: Set env variables
run: |
echo "Setting environment variables..."
echo "XRT_VERSION_PATCH=${GITHUB_RUN_NUMBER}" >> $GITHUB_ENV
echo "PATH=/usr/bin:$PATH" >> $GITHUB_ENV
# apu-package-build:
# runs-on: apu
# # runs-on: Ubuntu-20.04
# steps:
# - name: Set env variables
# run: |
# echo "Setting environment variables..."
# echo "XRT_VERSION_PATCH=${GITHUB_RUN_NUMBER}" >> $GITHUB_ENV
# echo "PATH=/usr/bin:$PATH" >> $GITHUB_ENV

- name: Checkout PR
uses: actions/checkout@v3
with:
repository: "${{ github.event.pull_request.head.repo.full_name }}"
ref: "${{ github.event.pull_request.head.ref }}"
fetch-depth: 0
github-server-url: "https://github.com"
token: ${{ secrets.CI_CLOUD_TOKEN}}
path: ${{ github.workspace }}/${{ github.run_number }}
submodules: recursive
# - name: Checkout PR
# uses: actions/checkout@v3
# with:
# repository: "${{ github.event.pull_request.head.repo.full_name }}"
# ref: "${{ github.event.pull_request.head.ref }}"
# fetch-depth: 0
# github-server-url: "https://github.com"
# token: ${{ secrets.CI_CLOUD_TOKEN}}
# path: ${{ github.workspace }}/${{ github.run_number }}
# submodules: recursive

- name: Checkout private repository
uses: actions/checkout@v3
with:
repository: actions-int/composite-workflows
token: ${{ secrets.ACCESS_TOKEN }}
github-server-url: ${{ secrets.SERVER_URL }}
path: composite-workflows
# - name: Checkout private repository
# uses: actions/checkout@v3
# with:
# repository: actions-int/composite-workflows
# token: ${{ secrets.ACCESS_TOKEN }}
# github-server-url: ${{ secrets.SERVER_URL }}
# path: composite-workflows

- name: Apu package build for XRT
uses: ./composite-workflows/apu-package
with:
pipeline: ${{ env.PIPELINE }}
workspace: ${{ github.workspace }}
buildNumber: ${{ github.run_number }}
apuPackage: 'True'
release: ${{ env.RELEASE }}
accessToken: ${{ secrets.ACCESS_TOKEN }}
github-server-url: ${{ secrets.SERVER_URL }}
# - name: Apu package build for XRT
# uses: ./composite-workflows/apu-package
# with:
# pipeline: ${{ env.PIPELINE }}
# workspace: ${{ github.workspace }}
# buildNumber: ${{ github.run_number }}
# apuPackage: 'True'
# release: ${{ env.RELEASE }}
# accessToken: ${{ secrets.ACCESS_TOKEN }}
# github-server-url: ${{ secrets.SERVER_URL }}

package-download:
needs: build
Expand Down

0 comments on commit 09059fc

Please sign in to comment.