File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load diff This file was deleted.
Original file line number Diff line number Diff line change 1+ name : Meson
2+
3+ on :
4+ push :
5+ branches : [ master ]
6+ pull_request :
7+ branches : [ master ]
8+
9+ jobs :
10+ build :
11+ runs-on : ${{ matrix.os }}
12+ strategy :
13+ matrix :
14+ os : [ubuntu-latest, windows-latest, macos-latest]
15+
16+ steps :
17+ - uses : actions/checkout@v2
18+ with :
19+ submodules : recursive
20+
21+ - name : Install Meson
22+ run : pip install meson
23+
24+ - name : Install Ninja
25+ run : |
26+ if [ "$RUNNER_OS" == "Linux" ]; then
27+ sudo apt-get update && sudo apt-get install -y ninja-build
28+ elif [ "$RUNNER_OS" == "macOS" ]; then
29+ brew install ninja
30+ elif [ "$RUNNER_OS" == "Windows" ]; then
31+ choco install ninja
32+ fi
33+
34+ - name : Configure
35+ run : meson setup build -Dbuildtype=release
36+
37+ - name : Build
38+ run : meson compile -C build
39+
40+ - name : Test
41+ run : meson test -C build
You can’t perform that action at this time.
0 commit comments