Skip to content

Commit

Permalink
use my own action, always store logs, only riscv64, bloop
Browse files Browse the repository at this point in the history
  • Loading branch information
jefferyto committed Oct 17, 2023
1 parent 98ae71b commit 9292960
Showing 1 changed file with 6 additions and 37 deletions.
43 changes: 6 additions & 37 deletions .github/workflows/multi-arch-test-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,46 +15,10 @@ jobs:
fail-fast: false
matrix:
include:
- arch: aarch64_generic
target: armsr-armv8
runtime_test: true

- arch: arm_cortex-a15_neon-vfpv4
target: armsr-armv7
runtime_test: true

- arch: arm_cortex-a9_vfpv3-d16
target: mvebu-cortexa9
runtime_test: false

- arch: i386_pentium-mmx
target: x86-geode
runtime_test: true

- arch: mips_24kc
target: ath79-generic
runtime_test: true

- arch: mipsel_24kc
target: mt7621
runtime_test: false

- arch: powerpc_464fp
target: apm821xx-nand
runtime_test: false

- arch: powerpc_8548
target: mpc85xx-p1010
runtime_test: false

- arch: riscv64_riscv64
target: sifiveu-generic
runtime_test: false

- arch: x86_64
target: x86-64
runtime_test: true

steps:
- uses: actions/checkout@v3
with:
Expand Down Expand Up @@ -101,17 +65,19 @@ jobs:
echo "$EOF" >> $GITHUB_ENV
- name: Build
uses: openwrt/gh-action-sdk@v5
uses: jefferyto/openwrt-gh-action-sdk@no-j1
env:
ARCH: ${{ matrix.arch }}-${{ env.BRANCH }}
FEEDNAME: packages_ci
INDEX: 1
KEY_BUILD: ${{ env.KEY_BUILD }}

- name: Move created packages to project dir
if: always()
run: cp bin/packages/${{ matrix.arch }}/packages_ci/* . || true

- name: Collect metadata
if: always()
run: |
MERGE_ID=$(git rev-parse --short HEAD)
echo "MERGE_ID=$MERGE_ID" >> $GITHUB_ENV
Expand All @@ -122,6 +88,7 @@ jobs:
echo "ARCHIVE_NAME=${{matrix.arch}}-PR$PRNUMBER-$MERGE_ID" >> $GITHUB_ENV
- name: Generate metadata
if: always()
run: |
cat << _EOF_ > PKG-INFO
Metadata-Version: 2.1
Expand All @@ -148,6 +115,7 @@ jobs:
cat PKG-INFO
- name: Store packages
if: always()
uses: actions/upload-artifact@v3
with:
name: ${{env.ARCHIVE_NAME}}-packages
Expand All @@ -158,6 +126,7 @@ jobs:
PKG-INFO
- name: Store logs
if: always()
uses: actions/upload-artifact@v3
with:
name: ${{env.ARCHIVE_NAME}}-logs
Expand Down

0 comments on commit 9292960

Please sign in to comment.