From 727ba41503331a43a76205ff466631960a41cddf Mon Sep 17 00:00:00 2001 From: John Michael Burke Date: Wed, 21 Sep 2022 12:23:43 -0700 Subject: [PATCH] Install newer version of CMake for U18. --- .github/workflows/main.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 548c10bc2..da5252741 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -69,6 +69,16 @@ jobs: choco install -y capnproto fi + - name: Install CMake for U18 + run: | + sudo apt purge --auto-remove cmake + wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/null \ + | gpg --dearmor - | sudo tee /etc/apt/trusted.gpg.d/kitware.gpg >/dev/null + sudo apt-add-repository 'deb https://apt.kitware.com/ubuntu/ bionic main' + sudo apt update + sudo apt install cmake + if: runner.os == 'Linux' + - name: Pull Git LFS objects run: git lfs pull env: @@ -160,6 +170,16 @@ jobs: run: | sudo apt-get update && sudo apt-get install -y capnproto libudev-dev libssl-dev + - name: Install CMake for U18 + run: | + sudo apt purge --auto-remove cmake + wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/null \ + | gpg --dearmor - | sudo tee /etc/apt/trusted.gpg.d/kitware.gpg >/dev/null + sudo apt-add-repository 'deb https://apt.kitware.com/ubuntu/ bionic main' + sudo apt update + sudo apt install cmake + if: runner.os == 'Linux' + - name: Cache pip uses: actions/cache@v2 with: @@ -262,6 +282,16 @@ jobs: choco install capnproto nsis fi + - name: Install CMake for U18 + run: | + sudo apt purge --auto-remove cmake + wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/null \ + | gpg --dearmor - | sudo tee /etc/apt/trusted.gpg.d/kitware.gpg >/dev/null + sudo apt-add-repository 'deb https://apt.kitware.com/ubuntu/ bionic main' + sudo apt update + sudo apt install cmake + if: runner.os == 'Linux' + - name: Install stable Rust uses: actions-rs/toolchain@v1 with: