We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent deb7ed7 commit e764dd9Copy full SHA for e764dd9
.github/workflows/build.yml
@@ -0,0 +1,37 @@
1
+name: build
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - master
7
+ pull_request:
8
9
10
11
+jobs:
12
+ build:
13
+ strategy:
14
+ fail-fast: false
15
+ matrix:
16
+ include:
17
+ - os: ubuntu-latest
18
+ cc: clang
19
20
+ cc: gcc
21
+ runs-on: ${{ matrix.os }}
22
+ steps:
23
+ - uses: actions/checkout@v2
24
25
+ - name: Install Linux dependencies
26
+ if: runner.os == 'Linux'
27
+ run: |
28
+ sudo add-apt-repository -y "deb http://archive.ubuntu.com/ubuntu `lsb_release -sc` main universe"
29
+ sudo apt-get update -y -qq
30
+ sudo apt-get install meson ninja-build
31
32
+ - name: Execute build
33
+ env:
34
+ CC: ${{ matrix.cc }}
35
36
+ meson setup build
37
+ cd build && ninja
0 commit comments