From 340e10267cbc3441999d2ed52686417e84cf70fc Mon Sep 17 00:00:00 2001 From: Akhil Kumar Date: Tue, 25 Apr 2023 00:30:38 -0400 Subject: [PATCH 1/4] try latest vampire --- .github/workflows/CI-Linux-ARM64.yml | 34 ----------------- .github/workflows/CI-Linux-CUDA-Docker.yml | 26 ------------- .github/workflows/CI-Linux-CUDA.yml | 32 ---------------- .github/workflows/CI-Linux-NoCUDA.yml | 30 --------------- .github/workflows/CI-Win-CUDA.yml | 32 ---------------- .github/workflows/CI-Win-NoCUDA.yml | 43 ---------------------- .github/workflows/build-test-lin-wsl.yml | 2 +- 7 files changed, 1 insertion(+), 198 deletions(-) delete mode 100644 .github/workflows/CI-Linux-ARM64.yml delete mode 100644 .github/workflows/CI-Linux-CUDA-Docker.yml delete mode 100644 .github/workflows/CI-Linux-CUDA.yml delete mode 100644 .github/workflows/CI-Linux-NoCUDA.yml delete mode 100644 .github/workflows/CI-Win-CUDA.yml delete mode 100644 .github/workflows/CI-Win-NoCUDA.yml diff --git a/.github/workflows/CI-Linux-ARM64.yml b/.github/workflows/CI-Linux-ARM64.yml deleted file mode 100644 index b243d838d..000000000 --- a/.github/workflows/CI-Linux-ARM64.yml +++ /dev/null @@ -1,34 +0,0 @@ -name: CI-Linux-ARM64 - -on: - push: - branches: [ main ] - pull_request: - branches: [ main ] - -env: - NOTE_TO_SELF: "environments can not be passed from here to reused workflows!" - -jobs: - jetson-build-test: - uses: ./.github/workflows/build-test-lin.yml - with: - runner: AGX - flav: Linux_ARM64 - is-selfhosted: true - cuda: 'ON' - prep-cmd: 'echo skipping builder prep as I can not sudo' - is-build-gst: false - cache-path: './none' - cmake-conf-cmd: 'export VCPKG_FORCE_SYSTEM_BINARIES=1 && cmake -B . -DENABLE_ARM64=ON ../base' - nProc: 6 - jetson-publish: - needs: jetson-build-test - permissions: - checks: write - pull-requests: write - uses: ./.github/workflows/publish-test.yml - with: - flav: Linux_ARM64 - secrets: - GIST_TOKEN: ${{ secrets.GIST_TOKEN }} \ No newline at end of file diff --git a/.github/workflows/CI-Linux-CUDA-Docker.yml b/.github/workflows/CI-Linux-CUDA-Docker.yml deleted file mode 100644 index 64bdf1ac5..000000000 --- a/.github/workflows/CI-Linux-CUDA-Docker.yml +++ /dev/null @@ -1,26 +0,0 @@ -name: CI-Linux-CUDA-Docker - -on: - push: - branches: [ main ] - pull_request: - branches: [ main ] - -env: - NOTE_TO_SELF: "environments can not be passed from here to reused workflows!" - -jobs: - linux-cuda-build-no-test: - uses: ./.github/workflows/build-test-lin-container.yml - with: - runner: 'ubuntu-20.04' - flav: Linux-Cuda - is-selfhosted: false - cuda: 'ON' - prep-cmd: 'echo skipping builder prep as I can not sudo' - skip-test: true - cache-path: '/github/home/.cache/vcpkg/archives' - nProc: 3 - - - diff --git a/.github/workflows/CI-Linux-CUDA.yml b/.github/workflows/CI-Linux-CUDA.yml deleted file mode 100644 index 0b44b7395..000000000 --- a/.github/workflows/CI-Linux-CUDA.yml +++ /dev/null @@ -1,32 +0,0 @@ -name: CI-Linux-CUDA - -on: - push: - branches: [ main ] - pull_request: - branches: [ main ] - -env: - NOTE_TO_SELF: "environments can not be passed from here to reused workflows!" - -jobs: - linux-cuda-build-test: - uses: ./.github/workflows/build-test-lin.yml - with: - runner: 'linux-cuda' - flav: Linux-CudaT - is-selfhosted: true - cuda: 'ON' - prep-cmd: 'echo skipping builder prep as I can not sudo' - cache-path: './none' - nProc: 6 - linux-cuda-publish: - needs: linux-cuda-build-test - permissions: - checks: write - pull-requests: write - uses: ./.github/workflows/publish-test.yml - with: - flav: Linux-CudaT - secrets: - GIST_TOKEN: ${{ secrets.GIST_TOKEN }} \ No newline at end of file diff --git a/.github/workflows/CI-Linux-NoCUDA.yml b/.github/workflows/CI-Linux-NoCUDA.yml deleted file mode 100644 index c6b6cbc58..000000000 --- a/.github/workflows/CI-Linux-NoCUDA.yml +++ /dev/null @@ -1,30 +0,0 @@ -name: CI-Linux-NoCUDA - -on: - push: - branches: [ main ] - pull_request: - branches: [ main ] - -env: - NOTE_TO_SELF: "environments can not be passed from here to reused workflows!" - -jobs: - linux-nocuda-build-test: - uses: ./.github/workflows/build-test-lin.yml - with: - runner: 'ubuntu-20.04' - flav: Linux - is-selfhosted: false - cuda: 'OFF' - nProc: 3 - linux-nocuda-publish: - needs: linux-nocuda-build-test - permissions: - checks: write - pull-requests: write - uses: ./.github/workflows/publish-test.yml - with: - flav: Linux - secrets: - GIST_TOKEN: ${{ secrets.GIST_TOKEN }} \ No newline at end of file diff --git a/.github/workflows/CI-Win-CUDA.yml b/.github/workflows/CI-Win-CUDA.yml deleted file mode 100644 index b23dc2ac8..000000000 --- a/.github/workflows/CI-Win-CUDA.yml +++ /dev/null @@ -1,32 +0,0 @@ -name: CI-Win-CUDA - -on: - push: - branches: [ main ] - pull_request: - branches: [ main ] - -env: - NOTE_TO_SELF: "environments can not be passed from here to reused workflows!" - -jobs: - win-cuda-build-test: - uses: ./.github/workflows/build-test-win.yml - with: - runner: windows-cuda - flav: 'Windows-cuda' - cuda: 'ON' - is-selfhosted: true - is-build-gst: false # part of vcpkg on windows - nProc: 8 - nTestTimeoutMins: 20 - win-cuda-publish: - needs: win-cuda-build-test - permissions: - checks: write - pull-requests: write - uses: ./.github/workflows/publish-test.yml - with: - flav: 'Windows-cuda' - secrets: - GIST_TOKEN: ${{ secrets.GIST_TOKEN }} \ No newline at end of file diff --git a/.github/workflows/CI-Win-NoCUDA.yml b/.github/workflows/CI-Win-NoCUDA.yml deleted file mode 100644 index 64b8117ac..000000000 --- a/.github/workflows/CI-Win-NoCUDA.yml +++ /dev/null @@ -1,43 +0,0 @@ -name: CI-Win-NoCUDA - -on: - push: - branches: [ main ] - pull_request: - branches: [ main ] - -env: - NOTE_TO_SELF: "environments can not be passed from here to reused workflows!" - -jobs: - win-nocuda-build-prep: - uses: ./.github/workflows/build-test-win.yml - with: - runner: 'windows-2019' - flav: 'Win-nocuda' - cuda: 'OFF' - is-selfhosted: false - is-build-gst: false # part of vcpkg on windows - is-prep-phase: true - nProc: 3 - win-nocuda-build-test: - needs: win-nocuda-build-prep - uses: ./.github/workflows/build-test-win.yml - with: - runner: 'windows-2019' - flav: 'Win-nocuda' - is-selfhosted: false - cuda: 'OFF' - is-build-gst: false # part of vcpkg on windows - is-prep-phase: false - nProc: 3 - win-nocuda-publish: - needs: win-nocuda-build-test - permissions: - checks: write - pull-requests: write - uses: ./.github/workflows/publish-test.yml - with: - flav: 'Win-nocuda' - secrets: - GIST_TOKEN: ${{ secrets.GIST_TOKEN }} diff --git a/.github/workflows/build-test-lin-wsl.yml b/.github/workflows/build-test-lin-wsl.yml index 6af60c04b..133d7fb38 100644 --- a/.github/workflows/build-test-lin-wsl.yml +++ b/.github/workflows/build-test-lin-wsl.yml @@ -82,7 +82,7 @@ jobs: runs-on: ${{ inputs.runner }} steps: - name: Prepare WSL Image - uses: Vampire/setup-wsl@v1 + uses: Vampire/setup-wsl@v2.0.1 with: distribution: Ubuntu-20.04 - name: Prepare builder From db56467969ecf18c4908df4bcda721ed2d49d6e1 Mon Sep 17 00:00:00 2001 From: Akhil Kumar Date: Tue, 25 Apr 2023 11:00:36 -0400 Subject: [PATCH 2/4] avoid using setup-wsl? --- .github/workflows/build-test-lin-wsl.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-test-lin-wsl.yml b/.github/workflows/build-test-lin-wsl.yml index 133d7fb38..73611ad69 100644 --- a/.github/workflows/build-test-lin-wsl.yml +++ b/.github/workflows/build-test-lin-wsl.yml @@ -81,10 +81,10 @@ jobs: CMAKE_TC_FILE: '../vcpkg/scripts/buildsystems/vcpkg.cmake' # Note: naming this variable as CMAKE_TOOLCHAIN_FILE can cause havoc!!! runs-on: ${{ inputs.runner }} steps: - - name: Prepare WSL Image - uses: Vampire/setup-wsl@v2.0.1 - with: - distribution: Ubuntu-20.04 +# - name: Prepare WSL Image +# uses: Vampire/setup-wsl@v2.0.1 +# with: +# distribution: Ubuntu-20.04 - name: Prepare builder run: | ${{ inputs.prep-cmd }} From c37f451b57c7f7496913295789467c3f6139083a Mon Sep 17 00:00:00 2001 From: Akhil Kumar Date: Tue, 25 Apr 2023 11:10:58 -0400 Subject: [PATCH 3/4] keep trying --- .github/workflows/build-test-lin-wsl.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-test-lin-wsl.yml b/.github/workflows/build-test-lin-wsl.yml index 73611ad69..bde0a6385 100644 --- a/.github/workflows/build-test-lin-wsl.yml +++ b/.github/workflows/build-test-lin-wsl.yml @@ -81,10 +81,11 @@ jobs: CMAKE_TC_FILE: '../vcpkg/scripts/buildsystems/vcpkg.cmake' # Note: naming this variable as CMAKE_TOOLCHAIN_FILE can cause havoc!!! runs-on: ${{ inputs.runner }} steps: -# - name: Prepare WSL Image -# uses: Vampire/setup-wsl@v2.0.1 -# with: -# distribution: Ubuntu-20.04 + - name: Prepare WSL Image + uses: Vampire/setup-wsl@v2 + with: + distribution: Ubuntu-20.04.6 + set-as-default: 'false' - name: Prepare builder run: | ${{ inputs.prep-cmd }} From a2b7e50859dc15c0f6c800f76e72135d9b7ef713 Mon Sep 17 00:00:00 2001 From: Akhil Kumar Date: Tue, 25 Apr 2023 11:13:14 -0400 Subject: [PATCH 4/4] keep trying --- .github/workflows/build-test-lin-wsl.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-test-lin-wsl.yml b/.github/workflows/build-test-lin-wsl.yml index bde0a6385..55fd0f769 100644 --- a/.github/workflows/build-test-lin-wsl.yml +++ b/.github/workflows/build-test-lin-wsl.yml @@ -84,8 +84,9 @@ jobs: - name: Prepare WSL Image uses: Vampire/setup-wsl@v2 with: - distribution: Ubuntu-20.04.6 + distribution: Ubuntu-20.04 set-as-default: 'false' + update: 'false' - name: Prepare builder run: | ${{ inputs.prep-cmd }}