mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-20 07:20:10 +01:00
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>
This commit is contained in:
parent
69b95b7839
commit
bcc22b9e4d
1 changed files with 36 additions and 0 deletions
36
.github/workflows/ci.yml
vendored
Normal file
36
.github/workflows/ci.yml
vendored
Normal file
|
|
@ -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
|
||||||
Loading…
Add table
Reference in a new issue