Skip to content

Commit

Permalink
Removing rhel9 and apu_package for 2021.1 as per request (#8388)
Browse files Browse the repository at this point in the history
* enabling pipeline for 2021.1

* Enabling builds for now for 2021.1

* disabling rhel9 and apu_package for 2021.1

---------

Co-authored-by: msubram <[email protected]>
  • Loading branch information
manikandan-xilinx and msubram authored Sep 3, 2024
1 parent ad77779 commit ec34079
Show file tree
Hide file tree
Showing 2 changed files with 318 additions and 317 deletions.
84 changes: 42 additions & 42 deletions .github/workflows/xrt_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ jobs:
packageType: rpm
- os: centos8
packageType: rpm
- os: rhel9
packageType: rpm
# - os: rhel9
# packageType: rpm
- os: ubuntu2004
packageType: deb
- os: ubuntu2204
Expand Down Expand Up @@ -125,49 +125,49 @@ jobs:
# build-cmd: "build.bat -release"
# vs-version: "2017"

apu-package-build:
needs: authorize
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:
# needs: authorize
# 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
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
# 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
ref: main
# - 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
# ref: main

- 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 }}
appConfig: ${{ secrets.APP_CONFIG }}
appConfig1: ${{ secrets.APP_CONFIG1 }}
appConfig2: ${{ secrets.APP_CONFIG2 }}
appConfig3: ${{ secrets.APP_CONFIG3 }}
# - 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 }}
# appConfig: ${{ secrets.APP_CONFIG }}
# appConfig1: ${{ secrets.APP_CONFIG1 }}
# appConfig2: ${{ secrets.APP_CONFIG2 }}
# appConfig3: ${{ secrets.APP_CONFIG3 }}

# package-download:
# needs: build
Expand Down
Loading

0 comments on commit ec34079

Please sign in to comment.