build.yml: Updated the workflow to use version v4 of the actions/upload-artifact and actions/download-artifact
Sync the version of the macOS runner on GitHub with the version used in the nuttx repository. runs-on: macos-12 -> runs-on: macos-13
This commit is contained in:
parent
2fce155def
commit
00e77de94f
22
.github/workflows/build.yml
vendored
22
.github/workflows/build.yml
vendored
@ -105,7 +105,7 @@ jobs:
|
|||||||
run: tar zcf sources.tar.gz sources
|
run: tar zcf sources.tar.gz sources
|
||||||
|
|
||||||
- name: Archive Source Bundle
|
- name: Archive Source Bundle
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: source-bundle
|
name: source-bundle
|
||||||
path: sources.tar.gz
|
path: sources.tar.gz
|
||||||
@ -122,7 +122,7 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Download Source Artifact
|
- name: Download Source Artifact
|
||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: source-bundle
|
name: source-bundle
|
||||||
path: .
|
path: .
|
||||||
@ -160,24 +160,24 @@ jobs:
|
|||||||
./cibuild.sh -c -A -N -R testlist/${{matrix.boards}}.dat
|
./cibuild.sh -c -A -N -R testlist/${{matrix.boards}}.dat
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v4
|
||||||
if: ${{ always() }}
|
if: ${{ always() }}
|
||||||
with:
|
with:
|
||||||
name: linux-builds
|
name: linux-${{matrix.boards}}-builds
|
||||||
path: buildartifacts/
|
path: buildartifacts/
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
|
|
||||||
macOS:
|
macOS:
|
||||||
permissions:
|
permissions:
|
||||||
contents: none
|
contents: none
|
||||||
runs-on: macos-12
|
runs-on: macos-13
|
||||||
needs: Fetch-Source
|
needs: Fetch-Source
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
boards: [macos, sim-01, sim-02]
|
boards: [macos, sim-01, sim-02]
|
||||||
steps:
|
steps:
|
||||||
- name: Download Source Artifact
|
- name: Download Source Artifact
|
||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: source-bundle
|
name: source-bundle
|
||||||
path: .
|
path: .
|
||||||
@ -209,9 +209,9 @@ jobs:
|
|||||||
cd sources/nuttx/tools/ci
|
cd sources/nuttx/tools/ci
|
||||||
./cibuild.sh -i -c -A -R testlist/${{matrix.boards}}.dat
|
./cibuild.sh -i -c -A -R testlist/${{matrix.boards}}.dat
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: macos-builds
|
name: macos-${{matrix.boards}}-builds
|
||||||
path: buildartifacts/
|
path: buildartifacts/
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
|
|
||||||
@ -257,7 +257,7 @@ jobs:
|
|||||||
- run: git config --global core.autocrlf false
|
- run: git config --global core.autocrlf false
|
||||||
|
|
||||||
- name: Download Source Artifact
|
- name: Download Source Artifact
|
||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: source-bundle
|
name: source-bundle
|
||||||
path: .
|
path: .
|
||||||
@ -277,8 +277,8 @@ jobs:
|
|||||||
cd sources/nuttx/tools/ci
|
cd sources/nuttx/tools/ci
|
||||||
./cibuild.sh -g -i -A -C -R testlist/${{matrix.boards}}.dat
|
./cibuild.sh -g -i -A -C -R testlist/${{matrix.boards}}.dat
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: msys2-builds
|
name: msys2-${{matrix.boards}}-builds
|
||||||
path: buildartifacts/
|
path: buildartifacts/
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
|
Loading…
Reference in New Issue
Block a user