mirror of
https://github.com/seekrs/MacroLibX.git
synced 2026-01-11 14:43:34 +00:00
improving meson CI
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
name: linux_meson_x86
|
name: Linux Meson
|
||||||
|
|
||||||
on:
|
on:
|
||||||
repository_dispatch:
|
repository_dispatch:
|
||||||
@@ -16,22 +16,27 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-24.04]
|
os: [ubuntu-24.04]
|
||||||
arch: [x86_64]
|
arch: [x86_64]
|
||||||
|
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
if: "!contains(github.event.head_commit.message, 'ci skip')"
|
if: "!contains(github.event.head_commit.message, 'ci skip')"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v6
|
uses: actions/checkout@v6
|
||||||
- uses: NcStudios/VulkanCI@v1.2
|
|
||||||
- name: Install system dependencies
|
- name: Install system dependencies
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get -y install mesa-common-dev clang libsdl2-2.0-0 libsdl2-dev build-essential libvulkan-dev
|
sudo apt-get -y install mesa-common-dev clang libsdl2-2.0-0 libsdl2-dev build-essential libvulkan-dev
|
||||||
|
|
||||||
- name: Python
|
- name: Python
|
||||||
uses: actions/setup-python@v5
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: '3.11'
|
python-version: '3.11'
|
||||||
|
|
||||||
- name: Install Meson with pip
|
- name: Install Meson with pip
|
||||||
run: sudo pip3 install meson
|
run: sudo pip3 install meson
|
||||||
|
|
||||||
- name: Build with meson
|
- name: Build with meson
|
||||||
run: |
|
run: |
|
||||||
meson build --prefix=$PWD/ --bindir='' --libdir=''
|
meson build --prefix=$PWD/ --bindir='' --libdir=''
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
name: macOS_meson_arm
|
name: MacOS Meson
|
||||||
|
|
||||||
on:
|
on:
|
||||||
repository_dispatch:
|
repository_dispatch:
|
||||||
@@ -15,21 +15,27 @@ jobs:
|
|||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
os: [macOS-latest]
|
os: [macOS-latest]
|
||||||
arch: [arm]
|
arch: [x86_64, arm]
|
||||||
|
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
if: "!contains(github.event.head_commit.message, 'ci skip')"
|
if: "!contains(github.event.head_commit.message, 'ci skip')"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v6
|
uses: actions/checkout@v6
|
||||||
|
|
||||||
- name: Install system dependencies
|
- name: Install system dependencies
|
||||||
run: |
|
run: |
|
||||||
brew install SDL2
|
brew install SDL2
|
||||||
|
|
||||||
- name: Python
|
- name: Python
|
||||||
uses: actions/setup-python@v5
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: '3.11'
|
python-version: '3.11'
|
||||||
|
|
||||||
- name: Install Meson with pip
|
- name: Install Meson with pip
|
||||||
run: sudo pip3 install meson
|
run: sudo pip3 install meson
|
||||||
|
|
||||||
- name: Build with meson
|
- name: Build with meson
|
||||||
run: |
|
run: |
|
||||||
meson build --prefix=$PWD/ --bindir='' --libdir=''
|
meson build --prefix=$PWD/ --bindir='' --libdir=''
|
||||||
36
.github/workflows/macos_meson_x86.yml
vendored
36
.github/workflows/macos_meson_x86.yml
vendored
@@ -1,36 +0,0 @@
|
|||||||
name: macOS_meson_x86
|
|
||||||
|
|
||||||
on:
|
|
||||||
repository_dispatch:
|
|
||||||
types: [create-pull-request]
|
|
||||||
pull_request:
|
|
||||||
push:
|
|
||||||
paths-ignore:
|
|
||||||
- '.gitignore'
|
|
||||||
- 'LICENSE'
|
|
||||||
- 'README.md'
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
strategy:
|
|
||||||
fail-fast: false
|
|
||||||
matrix:
|
|
||||||
os: [macOS-latest]
|
|
||||||
arch: [x86_64]
|
|
||||||
runs-on: ${{ matrix.os }}
|
|
||||||
if: "!contains(github.event.head_commit.message, 'ci skip')"
|
|
||||||
steps:
|
|
||||||
- name: Checkout repository
|
|
||||||
uses: actions/checkout@v6
|
|
||||||
- name: Install system dependencies
|
|
||||||
run: |
|
|
||||||
brew install SDL2
|
|
||||||
- name: Python
|
|
||||||
uses: actions/setup-python@v5
|
|
||||||
with:
|
|
||||||
python-version: '3.11'
|
|
||||||
- name: Install Meson with pip
|
|
||||||
run: sudo pip3 install meson
|
|
||||||
- name: Build with meson
|
|
||||||
run: |
|
|
||||||
meson build --prefix=$PWD/ --bindir='' --libdir=''
|
|
||||||
ninja install -C build
|
|
||||||
Reference in New Issue
Block a user