File tree Expand file tree Collapse file tree 7 files changed +154
-0
lines changed
Expand file tree Collapse file tree 7 files changed +154
-0
lines changed Original file line number Diff line number Diff line change 1+ apache-mynewt-core
2+ apache-mynewt-mcumgr
3+ apache-mynewt-nimble
4+ arm-CMSIS_5
5+ mbedtls
6+ mcuboot
7+ nordic-nrfx
Original file line number Diff line number Diff line change 1+ #
2+ # Licensed to the Apache Software Foundation (ASF) under one
3+ # or more contributor license agreements. See the NOTICE file
4+ # distributed with this work for additional information
5+ # regarding copyright ownership. The ASF licenses this file
6+ # to you under the Apache License, Version 2.0 (the
7+ # "License"); you may not use this file except in compliance
8+ # with the License. You may obtain a copy of the License at
9+ #
10+ # http://www.apache.org/licenses/LICENSE-2.0
11+ #
12+ # Unless required by applicable law or agreed to in writing,
13+ # software distributed under the License is distributed on an
14+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15+ # KIND, either express or implied. See the License for the
16+ # specific language governing permissions and limitations
17+ # under the License.
18+ #
19+
20+ project.repositories :
21+ - apache-mynewt-core
22+
23+ repository.apache-mynewt-core :
24+ type : github
25+ vers : 0-dev
26+ user : apache
27+ repo : mynewt-core
28+
29+ repository.tinyusb :
30+ type : github
31+ vers : 0.0.0
32+ user : hathach
33+ repo : tinyusb
34+
35+ project.repositories.allowed :
36+ - apache-mynewt-core
37+ - apache-mynewt-nimble
38+ - apache-mynewt-mcumgr
39+ - mcuboot
40+ - arm-CMSIS_5
41+ - nordic-nrfx
42+ - mbedtls
43+ - stm-cmsis_device_f3
44+ - stm-stm32f3xx_hal_driver
45+
46+ project.repositories.ignored :
47+ - stm-cmsis_device_f3
48+ - stm-stm32f3xx_hal_driver
Original file line number Diff line number Diff line change 1+ Error: apache-mynewt-core repository must be allowed. Please add it to the allowed list and/or remove it from the ignored list.
Original file line number Diff line number Diff line change 1+ #
2+ # Licensed to the Apache Software Foundation (ASF) under one
3+ # or more contributor license agreements. See the NOTICE file
4+ # distributed with this work for additional information
5+ # regarding copyright ownership. The ASF licenses this file
6+ # to you under the Apache License, Version 2.0 (the
7+ # "License"); you may not use this file except in compliance
8+ # with the License. You may obtain a copy of the License at
9+ #
10+ # http://www.apache.org/licenses/LICENSE-2.0
11+ #
12+ # Unless required by applicable law or agreed to in writing,
13+ # software distributed under the License is distributed on an
14+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15+ # KIND, either express or implied. See the License for the
16+ # specific language governing permissions and limitations
17+ # under the License.
18+ #
19+
20+ project.repositories :
21+ - apache-mynewt-core
22+
23+ repository.apache-mynewt-core :
24+ type : github
25+ vers : 0-dev
26+ user : apache
27+ repo : mynewt-core
28+
29+ project.repositories.ignored :
30+ - apache-mynewt-core
Original file line number Diff line number Diff line change 1+ Error: apache-mynewt-core repository must be allowed. Please add it to the allowed list and/or remove it from the ignored list.
Original file line number Diff line number Diff line change 1+ #
2+ # Licensed to the Apache Software Foundation (ASF) under one
3+ # or more contributor license agreements. See the NOTICE file
4+ # distributed with this work for additional information
5+ # regarding copyright ownership. The ASF licenses this file
6+ # to you under the Apache License, Version 2.0 (the
7+ # "License"); you may not use this file except in compliance
8+ # with the License. You may obtain a copy of the License at
9+ #
10+ # http://www.apache.org/licenses/LICENSE-2.0
11+ #
12+ # Unless required by applicable law or agreed to in writing,
13+ # software distributed under the License is distributed on an
14+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15+ # KIND, either express or implied. See the License for the
16+ # specific language governing permissions and limitations
17+ # under the License.
18+ #
19+
20+ project.repositories :
21+ - apache-mynewt-core
22+
23+ repository.apache-mynewt-core :
24+ type : github
25+ vers : 0-dev
26+ user : apache
27+ repo : mynewt-core
28+
29+ project.repositories.allowed :
30+ - apache-mynewt-nimble
31+ - apache-mynewt-mcumgr
Original file line number Diff line number Diff line change @@ -100,3 +100,39 @@ jobs:
100100 echo "Checking target ${{ matrix.targets }}"
101101 ! newt upgrade &> tmp.txt
102102 cat tmp.txt | tail -n `wc -l < expected.txt` | diff -w expected.txt -
103+
104+ test_upgrade_filters :
105+ name : newt upgrade (filters)
106+ needs : populate-projects
107+ strategy :
108+ fail-fast : false
109+ matrix :
110+ os : [ubuntu-latest, windows-latest, macos-latest]
111+ projects : ${{ fromJson(needs.populate-projects.outputs.projects_success) }}
112+ runs-on : ${{ matrix.os }}
113+ steps :
114+ - uses : actions/checkout@v3
115+ - uses : actions/setup-go@v3
116+ with :
117+ go-version : ' stable'
118+ - name : Build newt
119+ working-directory : newt
120+ shell : bash
121+ run : |
122+ go version
123+ go build
124+ echo ${GITHUB_WORKSPACE}/newt >> $GITHUB_PATH
125+ git config --global url."https://github.com/".insteadOf "[email protected] :" 126+ - name : Test upgrade allowed-ignored
127+ shell : bash
128+ working-directory : .github/newt_upgrade/allowed-ignored
129+ run : |
130+ echo "Checking target ${{ matrix.targets }}"
131+ echo "Test initial install"
132+ newt upgrade
133+ newt info | grep mynewt-dummy | diff -w expected.txt -
134+ echo "Checking out repos to origin/master"
135+ for repo in `ls repos`; do git -C repos/"$repo" checkout -q origin/master; done
136+ echo "Test upgrade"
137+ newt upgrade
138+ ls repos | diff -w expected.txt -
You can’t perform that action at this time.
0 commit comments