Skip to content

Commit

Permalink
log which repo is being used
Browse files Browse the repository at this point in the history
  • Loading branch information
kingosticks committed Oct 6, 2024
1 parent c11f451 commit fc90795
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ jobs:
- name: Checkout gst-plugins-rs
run: |
git clone --depth 1 -b ${{ env.GST_GIT_BRANCH }} ${{ env.GST_GIT_REPO }}
git status && git remote -v
- name: Backup original plugin Cargo.toml file
run: |
Expand Down
4 changes: 3 additions & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ esac
log "Checkout gst-plugins-rs source if required"
[ ! -d "gst-plugins-rs" ] && git clone --depth 1 -b $GST_GIT_BRANCH $GST_GIT_REPO
[ ! -d "${GST_SRC_DIR}" ] && echo "Error: Can't find plugin source files at ${GST_SRC_DIR}" && exit 1
pushd ${GST_SRC_DIR}
git status && git remote -v
popd

log "Install Rust stuff"
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --target $TARGET
Expand All @@ -60,7 +63,6 @@ log "Build GStreamer plugin $GST_SRC_DIR for $TARGET"
## is from our package (because the asset name had "lib" and ".so" added) and
## so will build the whole workspace (all packages) which is slow and requires more deps.
pushd ${GST_SRC_DIR}
git status && git log -n 3
cargo build --target=$TARGET --release -v
popd

Expand Down

0 comments on commit fc90795

Please sign in to comment.