Преглед изворни кода

Migrate actions to default (2.0.x) branch

Scott Lahteine пре 4 година
родитељ
комит
536778812f
3 измењених фајлова са 0 додато и 167 уклоњено
  1. 0
    34
      .github/workflows/bump-date.yml
  2. 0
    31
      .github/workflows/check-pr.yml
  3. 0
    102
      .github/workflows/test-builds.yml

+ 0
- 34
.github/workflows/bump-date.yml Прегледај датотеку

@@ -1,34 +0,0 @@
1
-#
2
-# bump-date.yml
3
-# Bump the distribution date once per day
4
-#
5
-
6
-name: Bump Distribution Date
7
-
8
-on:
9
-  schedule:
10
-    - cron: '0 0 * * *'
11
-
12
-jobs:
13
-  bump_date:
14
-
15
-    runs-on: ubuntu-latest
16
-
17
-    steps:
18
-
19
-    - name: Check out bugfix-2.0.x
20
-      uses: actions/checkout@v2
21
-      with:
22
-        ref: bugfix-2.0.x
23
-
24
-    - name: Bump Distribution Date
25
-      run: |
26
-        # Inline Bump Script
27
-        [[ "$GITHUB_REPOSITORY" == "MarlinFirmware/Marlin" ]] || exit 0
28
-        DIST=$( date +"%Y-%m-%d" )
29
-        eval "sed -E -i 's/(#define +STRING_DISTRIBUTION_DATE) .*$/\1 \"$DIST\"/g' Marlin/src/inc/Version.h" && \
30
-        git config user.name "${GITHUB_ACTOR}" && \
31
-        git config user.email "${GITHUB_ACTOR}@users.noreply.github.com" && \
32
-        git add . && \
33
-        git commit -m "[cron] Bump distribution date ($DIST)" && \
34
-        git push

+ 0
- 31
.github/workflows/check-pr.yml Прегледај датотеку

@@ -1,31 +0,0 @@
1
-#
2
-# check-pr.yml
3
-# Add a comment to the PR if it's directed to a release branch
4
-#
5
-
6
-name: Check PR
7
-
8
-on:
9
-  pull_request:
10
-    branches:
11
-    - 1.0.x
12
-    - 1.1.x
13
-    - 2.0.x
14
-
15
-jobs:
16
-  check_pr:
17
-
18
-    runs-on: ubuntu-latest
19
-
20
-    steps:
21
-    - name: Comment on PR
22
-      uses: unsplash/comment-on-pr@master
23
-      env:
24
-        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
25
-      with:
26
-        msg: "<p>Thanks for your contribution! \
27
-              Unfortunately we can't accept PRs directed at release branches. \
28
-              We make patches to the bugfix branches and only later do we push them out as releases. \
29
-              Please redo this PR starting with the `bugfix-2.0.x` branch and be careful to target `bugfix-2.0.x` when resubmitting the PR.</p> \
30
-              <p>It may help to set your fork's default branch to `bugfix-2.0.x`.</p> \
31
-              <p>See <a href='http://marlinfw.org/docs/development/getting_started_pull_requests.html' target='_blank'>this page</a> for full instructions.</p>"

+ 0
- 102
.github/workflows/test-builds.yml Прегледај датотеку

@@ -1,102 +0,0 @@
1
-#
2
-# test-builds.yml
3
-# Do test builds to catch compile errors
4
-#
5
-
6
-name: CI
7
-
8
-on:
9
-  pull_request:
10
-    branches:
11
-    - bugfix-2.0.x
12
-    - dev-2.1.x
13
-    paths-ignore:
14
-    - config/**
15
-    - data/**
16
-    - docs/**
17
-    - '**/*.md'
18
-
19
-jobs:
20
-  test_builds:
21
-
22
-    runs-on: ubuntu-latest
23
-
24
-    strategy:
25
-      matrix:
26
-        test-platform:
27
-        # Base Environments
28
-
29
-        - DUE
30
-        - esp32
31
-        - linux_native
32
-        - megaatmega2560
33
-        - teensy31
34
-        - teensy35
35
-
36
-        # Extended AVR Environments
37
-
38
-        - FYSETC_F6_13
39
-        - megaatmega1280
40
-        - rambo
41
-        - sanguino_atmega1284p
42
-        - sanguino_atmega644p
43
-
44
-        # Extended STM32 Environments
45
-
46
-        - STM32F103RC_bigtree
47
-        - STM32F103RC_bigtree_USB
48
-        - STM32F103RE_bigtree
49
-        - STM32F103RE_bigtree_USB
50
-        - STM32F103RC_fysetc
51
-        - jgaurora_a5s_a1
52
-        - STM32F103VE_longer
53
-        - STM32F407VE_black
54
-        - BIGTREE_SKR_PRO
55
-        - mks_robin
56
-        - ARMED
57
-
58
-        # Put lengthy tests last
59
-
60
-        - LPC1768
61
-        - LPC1769
62
-
63
-        # STM32 with non-STM framework. both broken for now. they should use HAL_STM32 which is working.
64
-
65
-        #- STM32F4
66
-        #- STM32F7
67
-
68
-        # Non-working environment tests
69
-
70
-        #- BIGTREE_BTT002
71
-        #- at90usb1286_cdc
72
-        #- at90usb1286_dfu
73
-        #- STM32F103CB_malyan
74
-        #- mks_robin_lite
75
-        #- mks_robin_mini
76
-        #- mks_robin_nano
77
-        #- SAMD51_grandcentral_m4
78
-
79
-    steps:
80
-
81
-    - name: Select Python 3.7
82
-      uses: actions/setup-python@v1
83
-      with:
84
-        python-version: '3.7' # Version range or exact version of a Python version to use, using semvers version range syntax.
85
-        architecture: 'x64' # optional x64 or x86. Defaults to x64 if not specified
86
-
87
-    - name: Install PlatformIO
88
-      run: |
89
-        pip install -U https://github.com/platformio/platformio-core/archive/master.zip
90
-        platformio update
91
-
92
-    - name: Check out the PR
93
-      uses: actions/checkout@v2
94
-
95
-    - name: Run ${{ matrix.test-platform }} Tests
96
-      run: |
97
-        # Inline tests script
98
-        [[ "$GITHUB_REPOSITORY" == "MarlinFirmware/Marlin" ]] || exit 0
99
-        chmod +x buildroot/bin/*
100
-        chmod +x buildroot/share/tests/*
101
-        export PATH=./buildroot/bin/:./buildroot/share/tests/:${PATH}
102
-        run_tests . ${{ matrix.test-platform }}

Loading…
Откажи
Сачувај