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: