diff options
author | Yurii Kolesnykov <root@yurikoles.com> | 2022-06-03 00:46:04 +0300 |
---|---|---|
committer | Marge Bot <emma+marge@anholt.net> | 2022-06-09 09:24:52 +0000 |
commit | bcc22b9e4d8767e1b8660eeca4a7b6ad13eb3dbc (patch) | |
tree | 10bace0b6e2b744b9e11fa4245af7f7defff9392 /.github | |
parent | 69b95b7839f048c63dba6599815a029657c80cd0 (diff) | |
download | mesa-bcc22b9e4d8767e1b8660eeca4a7b6ad13eb3dbc.tar.gz |
Init macOS GitHub Action
Closes #6517
Signed-off-by: Yurii Kolesnykov <root@yurikoles.com>
Reviewed-by: Eric Engestrom <eric@engestrom.ch>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16875>
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/ci.yml | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 00000000000..a7bc1ffff0e --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,36 @@ +name: CI +on: push + +jobs: + CI: + runs-on: macos-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: Install Dependencies + run: | + cat > Brewfile <<EOL + brew "bison" + brew "expat" + brew "gettext" + brew "libx11" + brew "libxcb" + brew "libxdamage" + brew "libxext" + brew "meson" + brew "pkg-config" + brew "python@3.10" + EOL + + brew update + brew bundle --verbose + - name: Install Mako + run: pip3 install --user mako + - name: Configure + run: meson . build -Dbuild-tests=true + - name: Build + run: meson compile -C build + - name: Test + run: meson test -C build + - name: Install + run: meson install -C build |