Skip to content

Bump jwlawson/actions-setup-cmake from 1.14 to 2.0 #2

Bump jwlawson/actions-setup-cmake from 1.14 to 2.0

Bump jwlawson/actions-setup-cmake from 1.14 to 2.0 #2

Workflow file for this run

name: CI
on:
push:
branches:
- master
pull_request:
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@v4
- name: Set up Clang
uses: egor-tensin/setup-clang@v1
with:
version: latest
platform: x64
- name: Setup cmake
uses: jwlawson/[email protected]
with:
cmake-version: '3.16.x'
- name: Setup Ninja
uses: ashutoshvarma/setup-ninja@master
with:
# ninja version to download. Default: 1.10.0
version: 1.10.0
- name: Run tests
run: |
cmake -S . -B build/ninja/ -GNinja
cd ./build/ninja && ninja