Mesa (main): Init macOS GitHub Action
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Thu Jun 9 09:25:38 UTC 2022
Module: Mesa
Branch: main
Commit: bcc22b9e4d8767e1b8660eeca4a7b6ad13eb3dbc
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=bcc22b9e4d8767e1b8660eeca4a7b6ad13eb3dbc
Author: Yurii Kolesnykov <root at yurikoles.com>
Date: Fri Jun 3 00:46:04 2022 +0300
Init macOS GitHub Action
Closes #6517
Signed-off-by: Yurii Kolesnykov <root at yurikoles.com>
Reviewed-by: Eric Engestrom <eric at engestrom.ch>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16875>
---
.github/workflows/ci.yml | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
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 at 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 at 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
More information about the mesa-commit
mailing list