Files
podkop/.github/workflows/build.yml
itdoginfo 248e0ca6c2 test
2024-10-10 23:44:28 +03:00

31 lines
748 B
YAML

name: Test Build
on:
push:
branches:
- main
jobs:
build:
name: ${{ matrix.arch }} build
runs-on: ubuntu-latest
strategy:
matrix:
arch:
- x86_64
# - mips_24kc
steps:
- uses: actions/checkout@v4.2.1
with:
fetch-depth: 0
- name: Bild SDK test
run: |
docker run -v ${{ GITHUB_WORKSPACE }}:/builder/package/feeds/ci openwrt/sdk-image:${{ matrix.arch }} sh -c "make package/podkop/{ clean, compile } V=s && ls bin/packages/x86_64/ci"
# - name: Store packages
# uses: actions/upload-artifact@v4.4.3
# with:
# name: ${{ matrix.arch}}-packages
# path: bin/packages/${{ matrix.arch }}/packages/*.ipk