mirror of
https://github.com/thepigeongenerator/mcaselector-lite.git
synced 2025-12-17 09:35:46 +01:00
38 lines
863 B
YAML
38 lines
863 B
YAML
name: CI
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
|
|
jobs:
|
|
compile-and-test:
|
|
strategy:
|
|
matrix:
|
|
os:
|
|
- ubuntu-latest
|
|
- ubuntu-24.04-arm
|
|
# - windows-latest
|
|
# - windows-11-arm
|
|
- macos-latest
|
|
runs-on: ${{matrix.os}}
|
|
steps:
|
|
- uses: actions/checkout@v5
|
|
with:
|
|
repository: ${{github.repository}}
|
|
submodules: true
|
|
fetch-depth: 1
|
|
|
|
- name: "Linux: install deps"
|
|
if: runner.os == 'Linux'
|
|
run: |
|
|
sudo apt update
|
|
sudo apt install -y libwayland-dev libxkbcommon-dev xorg-dev
|
|
|
|
- uses: actions/cache@v4
|
|
with:
|
|
path: lib/obj/
|
|
key: ${{runner.os}}-lib/obj-${{github.sha}}
|
|
restore-keys: ${{runner.os}}-lib/obj-
|
|
- run: make -j libs
|
|
- run: make -j all
|
|
- run: make -j test
|