From e90fa18fd65c0aa12079f11e4552c08b2af06f89 Mon Sep 17 00:00:00 2001 From: Matt Date: Wed, 25 Jan 2023 08:37:35 -0500 Subject: [PATCH 1/4] Update main.yml --- .github/workflows/main.yml | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4cb1877..51ed598 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -9,9 +9,22 @@ on: jobs: build: - runs-on: ubuntu-latest - steps: + strategy: + fail-fast: false + matrix: + include: + - os: ubuntu-latest + image_url: raspios_lite_arm64:latest + name: arm64 + - os: ubuntu-latest + image_url: raspios_lite:latest + name: armhf + + runs-on: ${{ matrix.os }} + name: "Build libphotonlibcamera - ${{ matrix.image_url }}" + + steps: - uses: actions/checkout@v3 - uses: pguyot/arm-runner-action@v2 with: @@ -29,11 +42,11 @@ jobs: - uses: actions/upload-artifact@master with: - name: libcamera-driver + name: libcamera-driver-${{ matrix.name }} path: build-pi/*.so - uses: actions/upload-artifact@master with: - name: libcamera-meme + name: libcamera-meme-${{ matrix.name }} path: build-pi/libcamera_meme # Push to dev release on pushes to master From 4a592a339e85d912a059986805e175af1cf52447 Mon Sep 17 00:00:00 2001 From: Matt Date: Wed, 25 Jan 2023 08:38:41 -0500 Subject: [PATCH 2/4] Update main.yml --- .github/workflows/main.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 51ed598..91d008d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -5,6 +5,8 @@ on: - 'master' - 'releases/**' pull_request: + branches: + - 'master' workflow_dispatch: jobs: From 175a05f7474f5a6972ac3d54d7d8bbbedfb23a0c Mon Sep 17 00:00:00 2001 From: Matt Date: Wed, 25 Jan 2023 08:39:04 -0500 Subject: [PATCH 3/4] Update main.yml --- .github/workflows/main.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 91d008d..ec5764f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,13 +1,12 @@ name: Build driver + on: push: - branches: - - 'master' - - 'releases/**' + branches: [ master ] + tags: + - 'v*' pull_request: - branches: - - 'master' - workflow_dispatch: + branches: [ master ] jobs: build: From 3415ee4a8c0e9f1521a6b5b763af2e357868715e Mon Sep 17 00:00:00 2001 From: Matt Date: Wed, 25 Jan 2023 08:53:46 -0500 Subject: [PATCH 4/4] Update main.yml --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ec5764f..6f2d6a1 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -19,7 +19,7 @@ jobs: image_url: raspios_lite_arm64:latest name: arm64 - os: ubuntu-latest - image_url: raspios_lite:latest + image_url: raspios_lite:2022-04-04 name: armhf runs-on: ${{ matrix.os }}