Prep work for branch renaming (#389)
* Add `amd-staging` and `amd-mainline` to workflow. * Update branch names in documentation * Change `dev` to `amd-staging` and `main` to `amd-mainline` in documentation. * Remove references from 2.x from workflows. * Convert the link to LICENSE to a relative path in CONTRIBUTING. --------- Signed-off-by: David Galiffi <David.Galiffi@amd.com>
This commit is contained in:
@@ -2,7 +2,7 @@ name: Documentation
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: ["main"]
|
||||
branches: [ main, amd-mainline ]
|
||||
paths:
|
||||
- 'docs/archive/docs-2.x/**'
|
||||
- 'docs/archive/docs-1.x/**'
|
||||
@@ -36,7 +36,7 @@ jobs:
|
||||
- name: Build 1.x docs
|
||||
run: |
|
||||
cd docs/archive/docs-1.x
|
||||
make html
|
||||
make html
|
||||
- name: Build 2.x docs
|
||||
run: |
|
||||
cd docs/archive/docs-2.x
|
||||
|
||||
@@ -3,9 +3,9 @@ name: Formatting
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ main, dev, 2.x ]
|
||||
branches: [ main, dev, amd-mainline, amd-staging ]
|
||||
pull_request:
|
||||
branches: [ main, dev, 2.x ]
|
||||
branches: [ main, dev, amd-mainline, amd-staging ]
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
|
||||
@@ -2,11 +2,10 @@ name: mi-rhel9
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- 'main'
|
||||
branches: [ main, amd-mainline ]
|
||||
|
||||
# Allows manual execution
|
||||
workflow_dispatch:
|
||||
workflow_dispatch:
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
@@ -8,7 +8,7 @@ on:
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
|
||||
jobs:
|
||||
distbuild:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
@@ -5,9 +5,9 @@ name: RHEL 8
|
||||
# Controls when the workflow will run
|
||||
on:
|
||||
push:
|
||||
branches: [ main, dev ]
|
||||
branches: [ main, dev, amd-mainline, amd-staging ]
|
||||
pull_request:
|
||||
branches: [ main, dev ]
|
||||
branches: [ main, dev, amd-mainline, amd-staging ]
|
||||
|
||||
# Allows you to run this workflow manually from the Actions tab
|
||||
workflow_dispatch:
|
||||
|
||||
@@ -2,15 +2,13 @@ name: tarball
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
- 2.x
|
||||
branches: [ main, amd-mainline ]
|
||||
pull_request:
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
|
||||
jobs:
|
||||
distbuild:
|
||||
runs-on: ubuntu-latest
|
||||
@@ -25,7 +23,7 @@ jobs:
|
||||
echo "sha=${{github.event.pull_request.head.sha}}" >> $GITHUB_OUTPUT
|
||||
else
|
||||
echo "sha=$GITHUB_SHA" >> $GITHUB_OUTPUT
|
||||
fi
|
||||
fi
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
@@ -101,9 +99,9 @@ jobs:
|
||||
run: sudo apt-get install -y lmod
|
||||
- name: Access omniperf using modulefile
|
||||
run: |
|
||||
. /etc/profile.d/lmod.sh
|
||||
. /etc/profile.d/lmod.sh
|
||||
module use $INSTALL_DIR/omniperf/share/omniperf/modulefiles
|
||||
module load omniperf
|
||||
module list
|
||||
omniperf --version
|
||||
|
||||
|
||||
|
||||
@@ -4,9 +4,9 @@ name: Ubuntu 22.04
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ main, dev ]
|
||||
branches: [ main, dev, amd-mainline, amd-staging ]
|
||||
pull_request:
|
||||
branches: [ main, dev ]
|
||||
branches: [ main, dev, amd-mainline, amd-staging ]
|
||||
|
||||
# Allows you to run this workflow manually from the Actions tab
|
||||
workflow_dispatch:
|
||||
|
||||
Reference in New Issue
Block a user