Skip to content

Commit

Permalink
Install newer version of CMake for U18.
Browse files Browse the repository at this point in the history
  • Loading branch information
john-michaelburke committed Sep 21, 2022
1 parent d159b26 commit 1dc6488
Showing 1 changed file with 34 additions and 3 deletions.
37 changes: 34 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,23 @@ jobs:
shell: bash
run: |
if [ "$RUNNER_OS" == "Linux" ]; then
sudo apt-get update && sudo apt-get install -y capnproto libudev-dev libssl-dev
sudo apt-get update && sudo apt-get install -y capnproto libudev-dev libssl-dev pkg-config
elif [ "$RUNNER_OS" == "macOS" ]; then
brew install capnp llvm
elif [ "$RUNNER_OS" == "Windows" ]; then
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:
Expand Down Expand Up @@ -158,7 +168,17 @@ jobs:

- name: Install Dependencies.
run: |
sudo apt-get update && sudo apt-get install -y capnproto libudev-dev libssl-dev
sudo apt-get update && sudo apt-get install -y capnproto libudev-dev libssl-dev pkg-config
- 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
Expand Down Expand Up @@ -254,14 +274,25 @@ jobs:
rubygems \
build-essential \
libudev-dev \
libssl-dev
libssl-dev \
pkg-config
sudo gem install --no-document fpm
elif [ "$RUNNER_OS" == "macOS" ]; then
brew install capnp llvm create-dmg
elif [ "$RUNNER_OS" == "Windows" ]; then
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:
Expand Down

0 comments on commit 1dc6488

Please sign in to comment.