Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
ci: Only download required repositories
This should speed up CI a bit.
  • Loading branch information
sjanc committed Oct 30, 2024
commit 0eae4e0f3133737fcc7628853327557d22fae473
36 changes: 36 additions & 0 deletions .github/project_build_all_apps.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
#

project.name: "my_project"

project.repositories:
- apache-mynewt-core

# Use github's distribution mechanism for core ASF libraries.
# This provides mirroring automatically for us.
#
repository.apache-mynewt-core:
type: github
vers: 0.0.0
user: apache
repo: mynewt-core

project.repositories.ignored:
- stm-*
- atmel-samd21xx
36 changes: 36 additions & 0 deletions .github/project_build_cc_target.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
#

project.name: "my_project"

project.repositories:
- apache-mynewt-core

# Use github's distribution mechanism for core ASF libraries.
# This provides mirroring automatically for us.
#
repository.apache-mynewt-core:
type: github
vers: 0.0.0
user: apache
repo: mynewt-core

project.repositories.ignored:
- stm-*
- atmel-samd21xx
39 changes: 39 additions & 0 deletions .github/project_newt_test_all.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
#

project.name: "my_project"

project.repositories:
- apache-mynewt-core

# Use github's distribution mechanism for core ASF libraries.
# This provides mirroring automatically for us.
#
repository.apache-mynewt-core:
type: github
vers: 0.0.0
user: apache
repo: mynewt-core

project.repositories.allowed:
- apache-mynewt-core
- apache-mynewt-nimble
- apache-mynewt-mcumgr
- mcuboot
- mbedtls
2 changes: 1 addition & 1 deletion .github/workflows/build_all_apps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
shell: bash
run: |
newt new build
cp -f .github/project.yml build/project.yml
cp -f .github/project_build_all_apps.yml build/project.yml
cd build
newt upgrade --shallow=1
git -C repos/apache-mynewt-core fetch origin $GITHUB_SHA
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build_cc_target.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
shell: bash
run: |
newt new build
cp -f .github/project.yml build/project.yml
cp -f .github/project_build_cc_target.yml build/project.yml
cd build
newt upgrade --shallow=1
git -C repos/apache-mynewt-core fetch origin $GITHUB_SHA
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/newt_test_all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
shell: bash
run: |
newt new build
cp -f .github/project.yml build/project.yml
cp -f .github/project_newt_test_all.yml build/project.yml
cd build
newt upgrade --shallow=1
git -C repos/apache-mynewt-core fetch origin $GITHUB_SHA
Expand Down
Loading