File tree Expand file tree Collapse file tree 3 files changed +38
-10
lines changed Expand file tree Collapse file tree 3 files changed +38
-10
lines changed Original file line number Diff line number Diff line change @@ -13,31 +13,49 @@ on: # yamllint disable-line rule:truthy
1313jobs :
1414 build :
1515 name : C/C++ CMake CI Test
16- runs-on : ubuntu-24.04
1716 strategy :
1817 matrix :
19- os : ["windows-2022", "ubuntu-24.04", "macos-14"]
18+ os : ["ubuntu-24.04", "macos-14"
19+ # , "windows-2022"
20+ ]
21+ runs-on : ${{ matrix.os }}
2022
2123 steps :
2224 - name : Checkout repository
2325 uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
2426
27+ - name : Install
28+ shell : bash
29+ run : |
30+ if [ "$RUNNER_OS" == "macOS" ]; then
31+ brew install vcpkg
32+ git clone https://github.com/microsoft/vcpkg "$HOME/vcpkg"
33+ export VCPKG_ROOT="$HOME/vcpkg"
34+ echo "VCPKG_ROOT=$HOME/vcpkg" >> $GITHUB_ENV
35+ elif [ "$RUNNER_OS" == "Linux" ]; then
36+ echo "VCPKG_ROOT=/usr/local/share/vcpkg" >> $GITHUB_ENV
37+ elif [ "$RUNNER_OS" == "Windows" ]; then
38+ echo "VCPKG_ROOT=C:/vcpkg" >> $GITHUB_ENV
39+ fi
40+
2541 - name : Check Tools
2642 run : |
43+ echo "-----------"
2744 make --version
45+ echo "-----------"
2846 cmake --version
47+ echo "-----------"
2948 vcpkg --version
49+ echo "-----------"
3050
3151 - name : Install dependencies
3252 run : |
3353 make dependencies
3454
35- # yamllint disable rule:line-length
3655 - name : Build
3756 run : |
38- export VCPKG_ROOT=/usr/local/share/vcpkg
3957 make build
40- # yamllint enable rule:line-length
4158
4259 - name : Test
43- run : make test
60+ run : |
61+ make test
Original file line number Diff line number Diff line change 11---
2-
32name : Markdown Lint
43
54on : # yamllint disable-line rule:truthy
@@ -10,19 +9,27 @@ on: # yamllint disable-line rule:truthy
109 branches : ["main"]
1110 workflow_dispatch :
1211
12+ permissions : read-all
13+
1314jobs :
14- lint :
15+ markdownlint :
1516 name : Markdown Lint
1617 runs-on : ubuntu-24.04
1718
19+ strategy :
20+ matrix :
21+ node-version : [22.x]
22+ # See supported Node.js release schedule
23+ # at https://nodejs.org/en/about/releases/
24+
1825 steps :
1926 - name : Checkout repository
2027 uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
2128
22- - name : Set up Node.js
29+ - name : Set up Node.js ${{ matrix.node-version }}
2330 uses : actions/setup-node@v4
2431 with :
25- node-version : 22.x
32+ node-version : ${{ matrix.node-version }}
2633
2734 - name : Install dependencies
2835 run : npm install -g markdownlint-cli
Original file line number Diff line number Diff line change @@ -32,6 +32,9 @@ Developed with TDD.
3232
3333Go to [ Install and run] ( #install-and-run )
3434
35+ > [ !WARNING]
36+ > Not supported on Windows yet.
37+
3538## What is this?
3639
3740This repository is part of a series that share and solve the same [ objectives] ( #objetives ) ,
You can’t perform that action at this time.
0 commit comments