Skip to content

Commit

Permalink
Merge pull request #109 from PelionIoT/weekly-builds
Browse files Browse the repository at this point in the history
Weekly builds
  • Loading branch information
JanneKiiskila authored Jun 6, 2024
2 parents a413506 + 19db62c commit 4dcefb9
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions .github/workflows/devmode-test-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,27 @@ name: production build

on:
push:
branches: [ "master" ]
paths-ignore:
- '**/*.md'
pull_request:
branches: [ "master" ]
workflow_dispatch:
schedule:
# Once week 03:26 on Saturday
- cron: '26 3 * * Sat'

# This allows a subsequently queued workflow run to interrupt previous runs
concurrency:
group: mbed-edge-test-build-${{ github.event.pull_request.head.label || github.head_ref || github.ref }}
cancel-in-progress: true

jobs:

build:

runs-on: [ "self-hosted", "client" ]
env:
SCRIPTS_INTERNAL_DIR: scripts-internal
EDGE_CONFIGS_DIR: scripts-internal/edge/edge-config/build-mbed-edge-devmode-test

SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
steps:
- uses: actions/checkout@v4
name: checkout repo
Expand All @@ -35,3 +38,9 @@ jobs:
uses: ./.github/actions/build-mbed-edge
with:
configfiles: ${{ env.EDGE_CONFIGS_DIR }}
- name: Post status to Slack testing_builds
if: always()
uses: act10ns/slack@v2
with:
status: ${{ job.status }}
channel: '#testing_builds'

0 comments on commit 4dcefb9

Please sign in to comment.