mirror of
https://github.com/thepigeongenerator/mcaselector-lite.git
synced 2025-12-17 07:35:45 +01:00
-j tells make to not set a limit to the amount of jobs it can use parralel to one another. We just gotta make sure the makefile supports the paralelsation correctly, currently it should be.
24 lines
488 B
YAML
24 lines
488 B
YAML
name: validate
|
|
on:
|
|
push:
|
|
branches:
|
|
- '**'
|
|
pull_request:
|
|
branches:
|
|
- '**'
|
|
jobs:
|
|
# TODO: add unit test job here
|
|
compile-and-lint:
|
|
runs-on: ubuntu-latest
|
|
container:
|
|
image: ghcr.io/thepigeongenerator/mcaselector-lite:latest
|
|
strategy:
|
|
matrix:
|
|
arch:
|
|
- linux-x86_64
|
|
- win-x86_64
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- run: make compile ARCH=${{matrix.arch}} -j
|
|
# TODO: add linting checking here
|