Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
sobomax committed Oct 18, 2024
1 parent af34e7e commit 06200d4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/.rtp.io.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ jobs:
sort -u | grep -v unknown | BUILD_OS="${BUILD_OS}" ./scripts/build/get-arch-buildargs.rtp.io fltplatforms | paste -sd ','`"
echo "Platforms: ${PLATFORMS}"
GIT_BRANCH="${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}"
GIT_BRANCH="${GIT_BRANCH#refs/tags/}"
BUILD_IMAGE="${{ inputs.ghcr-repo }}:rtp.io-${{ inputs.rtpp-tag }}-${GIT_BRANCH}"
echo "PLATFORMS=${PLATFORMS}" >> $GITHUB_ENV
echo "GIT_BRANCH=${GIT_BRANCH}" >> $GITHUB_ENV
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/rtp.io.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ jobs:
outputs:
llvm_ver: ${{ steps.set_outputs.outputs.LLVM_VER }}
llvm_ver_old: ${{ steps.set_outputs.outputs.LLVM_VER_OLD }}
ghcr-repo: ${{ steps.set_outputs.outputs.GHCR_REPO }}

steps:
- name: Set up environment
Expand Down Expand Up @@ -108,11 +109,13 @@ jobs:
DEBIAN_FRONTEND=noninteractive apt-get install -y gpp
sh -x ./test_run.sh
- name: Set LLVM Versions
- name: Pass Environment
id: set_outputs
run: |
echo "LLVM_VER=${LLVM_VER}" >> $GITHUB_OUTPUT
echo "LLVM_VER_OLD=${LLVM_VER_OLD}" >> $GITHUB_OUTPUT
GHCR_REPO="ghcr.io/${{ github.repository_owner }}/opensips"
echo "GHCR_REPO=${GHCR_REPO}" | tr '[:upper:]' '[:lower:]' >> $GITHUB_OUTPUT
build_test_rtp_io_dock:
name: Build & Test OpenSIPS+rtp.io
Expand All @@ -122,6 +125,7 @@ jobs:
rtpp-tag: ${{ matrix.rtpp-tag }}
llvm-version: ${{ needs.build_test_rtp_io_quick.outputs.llvm_ver }}
llvm-version-old: ${{ needs.build_test_rtp_io_quick.outputs.llvm_ver_old }}
ghcr-repo: ${{ needs.build_test_rtp_io_quick.outputs.ghcr-repo }}
strategy:
fail-fast: false
matrix:
Expand Down

0 comments on commit 06200d4

Please sign in to comment.