mirror of
https://github.com/thepigeongenerator/mcaselector-lite.git
synced 2025-12-17 06:15:47 +01:00
31 lines
774 B
YAML
31 lines
774 B
YAML
name: bin
|
|
on:
|
|
push:
|
|
branches:
|
|
- '**'
|
|
pull_request:
|
|
branches:
|
|
- '**'
|
|
jobs:
|
|
compile:
|
|
runs-on: ubuntu-latest
|
|
container:
|
|
image: ghcr.io/thepigeongenerator/mcaselector-lite:latest
|
|
strategy:
|
|
matrix:
|
|
include:
|
|
- kernel: linux
|
|
march: x86_64
|
|
cc: x86_64-linux-gnu-gcc
|
|
- kernel: mingw
|
|
march: x86_64
|
|
cc: x86_64-w64-mingw32-gcc
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: compile ${{matrix.march}}-${{matrix.kernel}}
|
|
run: make compile MARCH=${{matrix.march}} KERNEL=${{matrix.kernel}} CC=${{matrix.cc}} -j
|
|
- uses: actions/upload-artifact@v4
|
|
with:
|
|
name: ${{matrix.march}}-${{matrix.kernel}}-rel
|
|
path: obj/
|