mirror of
https://github.com/javalsai/lidm.git
synced 2025-07-03 22:38:41 +02:00
33 lines
676 B
YAML
33 lines
676 B
YAML
name: Test Build
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- '*'
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
check_build:
|
|
strategy:
|
|
matrix:
|
|
include:
|
|
- arch_name: x86_64
|
|
cc: gcc
|
|
cflags:
|
|
- arch_name: x86
|
|
cc: gcc
|
|
cflags: -m32
|
|
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Testing Build Process on ${{ matrix.arch_name }}
|
|
uses: ./.github/actions/build
|
|
with:
|
|
# TODO: make arch_name optional (dont upload artifact)
|
|
arch_name: ${{ matrix.arch_name }}
|
|
cc: ${{ matrix.cc }}
|
|
cflags: ${{ matrix.cflags }}
|