Skip to content

Commit 7a7ddf2

Browse files
committed
Speed up the pipeline by using Ninja
1 parent 605a04e commit 7a7ddf2

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

.github/workflows/build.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,20 @@ jobs:
1010
strategy:
1111
fail-fast: false
1212
matrix:
13-
os: [windows-2019, macos-10.15, ubuntu-20.04]
13+
os: [windows-2022, macos-11, ubuntu-20.04]
1414
env:
15-
BUILD_TYPE: Release
15+
BUILD_TYPE: 'Release'
16+
CMAKE_GENERATOR: 'Ninja'
1617
steps:
1718
- name: Checkout
1819
uses: actions/checkout@v3
1920

21+
- name: Install Ninja
22+
uses: seanmiddleditch/gha-setup-ninja@6263846cf3c17009dfc81604efabae16044fc074 # master
23+
24+
- name: Visual Studio Development Environment
25+
uses: ilammy/msvc-dev-cmd@cec98b9d092141f74527d0afa6feb2af698cfe89 # v1.12.1
26+
2027
- name: Tag cmkr.cmake
2128
if: ${{ startsWith(github.ref, 'refs/tags/') }}
2229
run: cmake -P "cmake/replace_tag.cmake"

src/cmake_generator.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
#include <memory>
99
#include <sstream>
1010
#include <stdexcept>
11+
#include <fstream>
1112

1213
namespace cmkr {
1314
namespace gen {

0 commit comments

Comments
 (0)