forked from dusty-nv/jetson-containers
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
34 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: "cuda-122_jp60" | ||
run-name: "Build cuda:12.2 (JetPack 6.0)" | ||
on: | ||
workflow_dispatch: {} | ||
push: | ||
branches: | ||
- 'dev' | ||
paths: | ||
- '.github/workflows/cuda-122_jp60.yml' | ||
- 'packages/cuda/cuda/*' | ||
- '!packages/cuda/cuda/README.md' | ||
- '!packages/cuda/cuda/docs.md' | ||
- 'packages/build-essential/*' | ||
- '!packages/build-essential/README.md' | ||
- '!packages/build-essential/docs.md' | ||
jobs: | ||
cuda-122_jp60: | ||
runs-on: [self-hosted, jetson, jp60] | ||
steps: | ||
- run: | | ||
cat /etc/nv_tegra_release | ||
- name: "Checkout ${{ github.repository }} SHA=${{ github.sha }}" | ||
run: | | ||
echo "$RUNNER_WORKSPACE" | ||
cd $RUNNER_WORKSPACE | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "Dustin Franklin" | ||
git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' | ||
cd jetson-containers | ||
git fetch origin | ||
git checkout $GITHUB_SHA | ||
git status | ||
ls -a | ||
- run: ./build.sh --name=runner/ --push=dustynv cuda:12.2 |