Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 15 additions & 9 deletions .github/workflows/build-relocatable-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ on:

permissions:
contents: read
id-token: write # Required for OIDC S3 upload

env:
ROCM_VERSION: ${{ github.event.inputs.rocm_version || '' }}
Expand All @@ -42,9 +41,12 @@ jobs:
build-ubuntu:
name: Build (Ubuntu 22.04)
runs-on: ${{ vars.RUNNER_LABEL || 'ubuntu-22.04' }}
permissions:
contents: read
id-token: write # Required for OIDC S3 upload
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
with:
submodules: recursive
fetch-depth: 0 # for branch.commit version tags
Expand Down Expand Up @@ -76,7 +78,7 @@ jobs:

- name: Upload artifacts
if: github.ref_name != 'candidate' && github.base_ref != 'candidate'
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
name: ubuntu-22.04-packages
path: |
Expand All @@ -86,7 +88,7 @@ jobs:

- name: Configure AWS credentials (OIDC)
if: github.repository == 'ROCm/TransferBench' && vars.AWS_S3_BUCKET != '' && github.ref_name != 'candidate' && github.base_ref != 'candidate'
uses: aws-actions/configure-aws-credentials@v4
uses: aws-actions/configure-aws-credentials@7474bc4690e29a8392af63c5b98e7449536d5c3a # v4.3.1
with:
role-to-assume: ${{ secrets.AWS_ROLE_ARN }}
aws-region: us-east-1
Expand Down Expand Up @@ -149,11 +151,15 @@ jobs:
build-manylinux:
name: Build (manylinux_2_28)
runs-on: ${{ vars.RUNNER_LABEL_CONTAINER || 'ubuntu-latest' }}
permissions:
contents: read
id-token: write # Required for OIDC S3 upload
container:
image: quay.io/pypa/manylinux_2_28_x86_64
# Pinned by digest; the floating tag is retained for readability.
image: quay.io/pypa/manylinux_2_28_x86_64:latest@sha256:4131ddd7acb9c6c966af02fe7e71edc51e078c2d41f475966697676430bfa2ae
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
with:
submodules: recursive
fetch-depth: 0
Expand Down Expand Up @@ -186,7 +192,7 @@ jobs:

- name: Upload artifacts
if: github.ref_name != 'candidate' && github.base_ref != 'candidate'
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
name: manylinux_2_28-packages
path: |
Expand All @@ -202,7 +208,7 @@ jobs:

- name: Configure AWS credentials (OIDC)
if: github.repository == 'ROCm/TransferBench' && vars.AWS_S3_BUCKET != '' && github.ref_name != 'candidate' && github.base_ref != 'candidate'
uses: aws-actions/configure-aws-credentials@v4
uses: aws-actions/configure-aws-credentials@7474bc4690e29a8392af63c5b98e7449536d5c3a # v4.3.1
with:
role-to-assume: ${{ secrets.AWS_ROLE_ARN }}
aws-region: us-east-1
Expand Down Expand Up @@ -298,7 +304,7 @@ jobs:

- name: Upload report
if: github.ref_name != 'candidate' && github.base_ref != 'candidate'
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
name: build-report
path: report/build-report.md
8 changes: 4 additions & 4 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
analyze:
name: Analyze (C/C++)
runs-on: ubuntu-latest
container: rocm/dev-ubuntu-22.04:latest
container: rocm/dev-ubuntu-22.04:latest@sha256:6c11663a93966c040cd56dc73ed6d6761cdb887068f3f8940c4d3fe4e6829f10 # 10.1.0-full
permissions:
security-events: write
packages: read
Expand All @@ -34,7 +34,7 @@ jobs:
DEBIAN_FRONTEND=noninteractive apt-get install -y git

- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0

- name: Configure Git Safe Directory
run: |
Expand All @@ -46,7 +46,7 @@ jobs:
apt-get install -y build-essential cmake libnuma-dev

- name: Initialize CodeQL
uses: github/codeql-action/init@v3
uses: github/codeql-action/init@9f759ee644a3e7c15c1390abf49868036c00067b # v3.38.3
with:
languages: c-cpp
build-mode: manual
Expand All @@ -64,6 +64,6 @@ jobs:
make -j $(nproc)

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
uses: github/codeql-action/analyze@9f759ee644a3e7c15c1390abf49868036c00067b # v3.38.3
with:
category: "/language:c-cpp"
Loading
Loading