Skip to content

Commit

Permalink
Update Actions for Node 20 (#60)
Browse files Browse the repository at this point in the history
  • Loading branch information
sciencewhiz authored Jun 18, 2024
1 parent 68268b7 commit 7167b9f
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 47 deletions.
72 changes: 36 additions & 36 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@ jobs:
WPI_TARGET_PORT: cortexa9_vfpv3
WPI_USE_THREADS: 8
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Install opensysroot
run: |
cd res/opensysroot
python3 -m pip install .
- name: Build sysroot
run: |
make backend
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: roborio-academic-cortexa9_vfpv3-sysroot
path: output/*
Expand All @@ -43,15 +43,15 @@ jobs:
WPI_TARGET_PORT: armhf
WPI_USE_THREADS: 8
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Install opensysroot
run: |
cd res/opensysroot
python3 -m pip install .
- name: Build sysroot
run: |
make backend
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: bullseye-armhf-sysroot
path: output/*
Expand All @@ -65,15 +65,15 @@ jobs:
WPI_TARGET_PORT: arm64
WPI_USE_THREADS: 8
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Install opensysroot
run: |
cd res/opensysroot
python3 -m pip install .
- name: Build sysroot
run: |
make backend
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: bullseye-arm64-sysroot
path: output/*
Expand All @@ -87,15 +87,15 @@ jobs:
WPI_TARGET_PORT: armhf
WPI_USE_THREADS: 8
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Install opensysroot
run: |
cd res/opensysroot
python3 -m pip install .
- name: Build sysroot
run: |
make backend
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: raspi-bullseye-armhf-sysroot
path: output/*
Expand Down Expand Up @@ -143,11 +143,11 @@ jobs:
WPI_TARGET_PORT: cortexa9_vfpv3
WPI_USE_THREADS: 8
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Prep MacOS
if: contains(matrix.host.runner, 'macos')
run: brew install rsync xz gmp mpfr libmpc isl texinfo
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: roborio-academic-cortexa9_vfpv3-sysroot
path: output/
Expand All @@ -174,7 +174,7 @@ jobs:
env:
APPLE_DEVELOPER_ID: ${{ secrets.APPLE_DEVELOPER_ID }}
run: make sign
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: roborio-academic-cortexa9_vfpv3-${{matrix.host.os-cfg }}
path: output/*
Expand Down Expand Up @@ -221,11 +221,11 @@ jobs:
WPI_TARGET_PORT: armhf
WPI_USE_THREADS: 8
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Prep MacOS
if: contains(matrix.host.runner, 'macos')
run: brew install rsync xz gmp mpfr libmpc isl texinfo
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: bullseye-armhf-sysroot
path: output/
Expand All @@ -252,7 +252,7 @@ jobs:
env:
APPLE_DEVELOPER_ID: ${{ secrets.APPLE_DEVELOPER_ID }}
run: make sign
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: bullseye-armhf-${{matrix.host.os-cfg }}
path: output/*
Expand Down Expand Up @@ -292,11 +292,11 @@ jobs:
WPI_TARGET_PORT: arm64
WPI_USE_THREADS: 8
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Prep MacOS
if: contains(matrix.host.runner, 'macos')
run: brew install rsync xz gmp mpfr libmpc isl texinfo
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: bullseye-arm64-sysroot
path: output/
Expand All @@ -323,7 +323,7 @@ jobs:
env:
APPLE_DEVELOPER_ID: ${{ secrets.APPLE_DEVELOPER_ID }}
run: make sign
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: bullseye-arm64-${{matrix.host.os-cfg }}
path: output/*
Expand Down Expand Up @@ -363,11 +363,11 @@ jobs:
WPI_TARGET_PORT: armhf
WPI_USE_THREADS: 8
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Prep MacOS
if: contains(matrix.host.runner, 'macos')
run: brew install rsync xz gmp mpfr libmpc isl texinfo
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: raspi-bullseye-armhf-sysroot
path: output/
Expand All @@ -394,7 +394,7 @@ jobs:
env:
APPLE_DEVELOPER_ID: ${{ secrets.APPLE_DEVELOPER_ID }}
run: make sign
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: raspi-bullseye-armhf-${{matrix.host.os-cfg }}
path: output/*
Expand All @@ -411,8 +411,8 @@ jobs:
WPI_TARGET_PORT: armhf
WPI_USE_THREADS: 8
steps:
- uses: actions/checkout@v3
- uses: actions/download-artifact@v3
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4
with:
name: raspi-bullseye-armhf-sysroot
path: output/
Expand All @@ -421,7 +421,7 @@ jobs:
run: |
make frontend
rm output/*.tar
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: raspi-bullseye-armhf-linux_x86_64
path: output/*
Expand All @@ -437,13 +437,13 @@ jobs:
WPI_TARGET_PORT: cortexa9_vfpv3
WPI_USE_THREADS: 8
steps:
- uses: actions/checkout@v3
- uses: actions/download-artifact@v3
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4
with:
name: roborio-academic-cortexa9_vfpv3-sysroot
path: output/

- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: raspi-bullseye-armhf-linux_x86_64
path: cross/
Expand All @@ -460,7 +460,7 @@ jobs:
run: |
make frontend
rm output/*.tar
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: roborio-academic-cortexa9_vfpv3-raspi-bullseye_armhf
path: output/*
Expand All @@ -476,8 +476,8 @@ jobs:
WPI_TARGET_PORT: arm64
WPI_USE_THREADS: 8
steps:
- uses: actions/checkout@v3
- uses: actions/download-artifact@v3
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4
with:
name: bullseye-arm64-sysroot
path: output/
Expand All @@ -486,7 +486,7 @@ jobs:
run: |
make frontend
rm output/*.tar
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: bullseye-arm64-linux_x86_64
path: output/*
Expand All @@ -502,13 +502,13 @@ jobs:
WPI_TARGET_PORT: cortexa9_vfpv3
WPI_USE_THREADS: 8
steps:
- uses: actions/checkout@v3
- uses: actions/download-artifact@v3
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4
with:
name: roborio-academic-cortexa9_vfpv3-sysroot
path: output/

- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: bullseye-arm64-linux_x86_64
path: cross/
Expand All @@ -525,7 +525,7 @@ jobs:
run: |
make frontend
rm output/*.tar
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: roborio-academic-cortexa9_vfpv3-bullseye_arm64
path: output/*
Expand All @@ -536,11 +536,11 @@ jobs:
if: startsWith(github.ref, 'refs/tags/v')
steps:
- name: Download Artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
- name: Remove sysroots
run: find -name "*.tar" -delete
- name: Release
uses: ncipollo/release-action@v1.11.1
uses: ncipollo/release-action@v1.14.0
with:
allowUpdates: true
artifacts: "**/*"
Expand Down
22 changes: 11 additions & 11 deletions .github/workflows/ci.yml.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@ jobs:
WPI_TARGET_PORT: {{ target.port }}
WPI_USE_THREADS: 8
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Install opensysroot
run: |
cd res/opensysroot
python3 -m pip install .
- name: Build sysroot
run: |
make backend
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: {{ target.os }}-{{ target.port }}-sysroot
path: output/*
Expand Down Expand Up @@ -77,11 +77,11 @@ jobs:
WPI_TARGET_PORT: {{ target.port }}
WPI_USE_THREADS: 8
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Prep MacOS
if: contains(matrix.host.runner, 'macos')
run: brew install rsync xz gmp mpfr libmpc isl texinfo
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: {{ target.os }}-{{ target.port }}-sysroot
path: output/
Expand All @@ -108,7 +108,7 @@ jobs:
env:
APPLE_DEVELOPER_ID: ${{ '{{' }} secrets.APPLE_DEVELOPER_ID }}
run: make sign
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: {{ target.os }}-{{ target.port }}-${{ '{{' }}matrix.host.os-cfg }}
path: output/*
Expand All @@ -125,13 +125,13 @@ jobs:
WPI_TARGET_PORT: {{ task.target.port }}
WPI_USE_THREADS: 8
steps:
- uses: actions/checkout@v3
- uses: actions/download-artifact@v3
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4
with:
name: {{ task.target.os }}-{{ task.target.port }}-sysroot
path: output/
{% if task.host.os != "linux" or task.host.port != "x86_64" %}
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: {{ task.host.os }}-{{ task.host.port }}-linux_x86_64
path: cross/
Expand All @@ -148,7 +148,7 @@ jobs:
run: |
make frontend
rm output/*.tar
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: {{ task.target.os }}-{{ task.target.port }}-{{ task.host.os }}_{{ task.host.port }}
path: output/*
Expand All @@ -159,11 +159,11 @@ jobs:
if: startsWith(github.ref, 'refs/tags/v')
steps:
- name: Download Artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
- name: Remove sysroots
run: find -name "*.tar" -delete
- name: Release
uses: ncipollo/release-action@v1.11.1
uses: ncipollo/release-action@v1.14.0
with:
allowUpdates: true
artifacts: "**/*"
Expand Down

0 comments on commit 7167b9f

Please sign in to comment.