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
13
13
jobs :
14
14
build :
15
15
name : C/C++ CMake CI Test
16
- runs-on : ubuntu-24.04
17
16
strategy :
18
17
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 }}
20
22
21
23
steps :
22
24
- name : Checkout repository
23
25
uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
24
26
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
+
25
41
- name : Check Tools
26
42
run : |
43
+ echo "-----------"
27
44
make --version
45
+ echo "-----------"
28
46
cmake --version
47
+ echo "-----------"
29
48
vcpkg --version
49
+ echo "-----------"
30
50
31
51
- name : Install dependencies
32
52
run : |
33
53
make dependencies
34
54
35
- # yamllint disable rule:line-length
36
55
- name : Build
37
56
run : |
38
- export VCPKG_ROOT=/usr/local/share/vcpkg
39
57
make build
40
- # yamllint enable rule:line-length
41
58
42
59
- name : Test
43
- run : make test
60
+ run : |
61
+ make test
Original file line number Diff line number Diff line change 1
1
---
2
-
3
2
name : Markdown Lint
4
3
5
4
on : # yamllint disable-line rule:truthy
@@ -10,19 +9,27 @@ on: # yamllint disable-line rule:truthy
10
9
branches : ["main"]
11
10
workflow_dispatch :
12
11
12
+ permissions : read-all
13
+
13
14
jobs :
14
- lint :
15
+ markdownlint :
15
16
name : Markdown Lint
16
17
runs-on : ubuntu-24.04
17
18
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
+
18
25
steps :
19
26
- name : Checkout repository
20
27
uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
21
28
22
- - name : Set up Node.js
29
+ - name : Set up Node.js ${{ matrix.node-version }}
23
30
uses : actions/setup-node@v4
24
31
with :
25
- node-version : 22.x
32
+ node-version : ${{ matrix.node-version }}
26
33
27
34
- name : Install dependencies
28
35
run : npm install -g markdownlint-cli
Original file line number Diff line number Diff line change @@ -32,6 +32,9 @@ Developed with TDD.
32
32
33
33
Go to [ Install and run] ( #install-and-run )
34
34
35
+ > [ !WARNING]
36
+ > Not supported on Windows yet.
37
+
35
38
## What is this?
36
39
37
40
This 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