Skip to content

Commit

Permalink
Update workflow to run on push to master
Browse files Browse the repository at this point in the history
  • Loading branch information
loglund committed Aug 22, 2023
1 parent ac00b87 commit b10b69e
Showing 1 changed file with 20 additions and 30 deletions.
50 changes: 20 additions & 30 deletions .github/workflows/raspberry_pi.yml
Original file line number Diff line number Diff line change
@@ -1,38 +1,28 @@
name: Raspberry Pi
on:
workflow_dispatch:
inputs:
extra_resolve_options:
description: "Extra Resolve Options"
required: false
schedule:
- cron: "0 1 * * *" # 3 AM CET
push:
pull_request:
concurrency:
cancel-in-progress: true
group: ${{ github.workflow }}-${{ github.ref || github.run_id }}
jobs:
RaspberryPi:
uses: steinwurf/cross-compile-action/.github/workflows/action.yml@6.0.0
with:
extra_resolve_options: ${{ github.event.inputs.extra_resolve_options }}
name: Raspberry Pi
cxx_mkspec: cxx_raspberry_gxx83_armv7
extra_resolve_options: ${{ github.event.inputs.extra_resolve_options }}
image: ghcr.io/steinwurf/gcc-8.3.0-raspberrypi-armv7:1.0.0
test_runner: raspberry_pi
test_binary_name: cpuid_tests
name: Raspberry Pi
test_binary_directory: build/cxx_raspberry_gxx83_armv7/test
test_binary_name: cpuid_tests
test_option: --no_fail











# Cancel previous in-progress when pushing: https://stackoverflow.com/a/72408109
concurrency:
group: ${{ github.workflow }}-${{ github.ref || github.run_id }}
cancel-in-progress: true
test_runner: raspberry_pi
name: Raspberry Pi
'on':
pull_request: null
push:
branches:
- master
schedule:
- cron: 0 1 * * *
workflow_dispatch:
inputs:
extra_resolve_options:
description: Extra Resolve Options
required: false

0 comments on commit b10b69e

Please sign in to comment.