Skip to content

Commit

Permalink
feat: new cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
joamag committed Nov 29, 2022
1 parent 30baa1d commit 420f80c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,15 @@ jobs:
strategy:
matrix:
clang-version: [3, 4, 5, 6, 7]
cmake-version: ["3.25.0"]
runs-on: ubuntu-latest
container: silkeh/clang:${{ matrix.clang-version }}
steps:
- uses: actions/checkout@v1
- name: Build & Install CMake
run: |
apt-get update && apt-get install -y -q wget libssl-dev
wget https://github.com/Kitware/CMake/releases/download/v3.16.6/cmake-3.16.6.tar.gz && tar -zxvf cmake-3.16.6.tar.gz && cd cmake-3.16.6 && ./bootstrap && make && make install
wget https://github.com/Kitware/CMake/releases/download/v${{ matrix.cmake-version }}/cmake-${{ matrix.cmake-version }}.tar.gz && tar -zxvf cmake-${{ matrix.cmake-version }}.tar.gz && cd cmake-${{ matrix.cmake-version }} && ./bootstrap && make && make install
- name: Build & Install Dependencies
run: |
apt-get update && apt-get install -y -q wget python3 python3-dev libpng-dev build-essential
Expand All @@ -62,14 +63,15 @@ jobs:
strategy:
matrix:
gcc-version: [5, 6, 7, 8, 9]
cmake-version: ["3.25.0"]
runs-on: ubuntu-latest
container: gcc:${{ matrix.gcc-version }}
steps:
- uses: actions/checkout@v1
- name: Build & Install CMake
run: |
apt-get update && apt-get install -y -q wget libssl-dev
wget https://github.com/Kitware/CMake/releases/download/v3.16.6/cmake-3.16.6.tar.gz && tar -zxvf cmake-3.16.6.tar.gz && cd cmake-3.16.6 && ./bootstrap && make && make install
wget https://github.com/Kitware/CMake/releases/download/v${{ matrix.cmake-version }}/cmake-${{ matrix.cmake-version }}.tar.gz && tar -zxvf cmake-${{ matrix.cmake-version }}.tar.gz && cd cmake-${{ matrix.cmake-version }} && ./bootstrap && make && make install
- name: Build & Install Dependencies
run: |
apt-get update && apt-get install -y -q wget python python-dev libpng-dev
Expand Down

0 comments on commit 420f80c

Please sign in to comment.