From ab15c97d7627023031682d2dd7747e85d72dfe3c Mon Sep 17 00:00:00 2001 From: Hajime Tazaki Date: Thu, 11 Jul 2024 14:09:31 +0900 Subject: [PATCH] use new action runners Signed-off-by: Hajime Tazaki --- .github/workflows/ci.yml | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ad0a573..04b2843 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -47,7 +47,7 @@ jobs: arch: amd64 os_alias: linux arch_alias: amd64 - runs_on: ubuntu-18.04 + runs_on: ubuntu-24.04 cc: clang cxx: clang++ rumprun_tuple: x86_64-rumprun-linux @@ -56,7 +56,7 @@ jobs: arch: amd64 os_alias: osx arch_alias: amd64 - runs_on: macos-11 + runs_on: macos-12 cc: clang cxx: clang++ rumprun_tuple: x86_64-rumprun-linux @@ -65,7 +65,7 @@ jobs: arch: arm32 os_alias: linux arch_alias: armhf - runs_on: ubuntu-18.04 + runs_on: ubuntu-24.04 cc: arm-linux-gnueabihf-gcc cxx: g++ rumprun_tuple: arm-rumprun-linux @@ -74,7 +74,7 @@ jobs: arch: arm64 os_alias: linux arch_alias: arm64 - runs_on: ubuntu-18.04 + runs_on: ubuntu-24.04 cc: aarch64-linux-gnu-gcc cxx: g++ rumprun_tuple: aarch64-rumprun-linux @@ -108,7 +108,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: path: src/rumprun-packages submodules: true @@ -140,7 +140,7 @@ jobs: echo "/usr/lib/ccache/bin:/usr/lib/ccache:/usr/local/opt/ccache/libexec:$HOME/.local/bin:/opt/rump/bin:${{ github.workspace }}/bin" >> $GITHUB_PATH echo "export PATH=/usr/lib/ccache/bin:/usr/lib/ccache:/usr/local/opt/ccache/libexec:$HOME/.local/bin:/opt/rump/bin:${{ github.workspace }}/bin:$PATH" >> $HOME/.bashrc - - uses: actions/cache@v2 + - uses: actions/cache@v4 with: path: ${{ env.CCACHE_DIR }} key: ${{ runner.os }}-${{ matrix.arch }}-${{ matrix.package }}-ccache-build-${{ github.sha }} @@ -148,7 +148,7 @@ jobs: - name: pkg dependency run: | - pip install yamlish + pip install yamlish --break-system-packages - name: pkg dependency (linux) if: runner.os == 'linux' @@ -187,7 +187,7 @@ jobs: - name: upload artifact if: matrix.package != 'zlib' - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: ${{ matrix.package_alias }}-${{ matrix.os_alias }}-${{ matrix.arch }} path: | @@ -195,7 +195,7 @@ jobs: - name: upload artifact (nginx) if: matrix.package == 'nginx' - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: data-${{ matrix.os_alias }}-${{ matrix.arch }}.iso path: | @@ -203,14 +203,14 @@ jobs: - name: upload artifact (python3) if: matrix.package == 'python3' - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: python-${{ matrix.os_alias }}-${{ matrix.arch }}.iso path: | src/rumprun-packages/${{ matrix.package }}/images/python.iso - name: upload artifact (python3/linux) if: matrix.package == 'python3' && runner.os == 'linux' && matrix.arch == 'amd64' - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: python-${{ matrix.os_alias }}-${{ matrix.arch }}.img path: | @@ -218,7 +218,7 @@ jobs: - name: upload artifact (netperf) if: matrix.package == 'netperf' - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: netserver-${{ matrix.os_alias }}-${{ matrix.arch }} path: | @@ -226,7 +226,7 @@ jobs: - name: upload artifact (named) if: matrix.package == 'named' && runner.os == 'linux' - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: named-${{ matrix.os_alias }}-${{ matrix.arch }}.img path: | @@ -243,7 +243,7 @@ jobs: - name: upload artifact (tiny)' if: matrix.package != 'zlib' - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: ${{ matrix.package_alias }}-${{ matrix.os_alias }}-${{ matrix.arch }}-slim path: | @@ -251,7 +251,7 @@ jobs: - name: upload artifact (netperf) (tiny) if: matrix.package == 'netperf' - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: netserver-${{ matrix.os_alias }}-${{ matrix.arch }}-slim path: | @@ -276,7 +276,7 @@ jobs: docker-image: needs: build - runs-on: ubuntu-18.04 + runs-on: ubuntu-24.04 name: image if: ${{ github.event_name == 'release' }} strategy: @@ -297,7 +297,7 @@ jobs: #registry: localhost:5050/ steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - uses: actions/download-artifact@v2 with: path: artifacts @@ -426,11 +426,11 @@ jobs: trigger: needs: docker-image - runs-on: ubuntu-18.04 + runs-on: ubuntu-24.04 name: downstream if: ${{ github.event_name == 'release' }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: fetch-depth: 0 - name: Set environment variables for image name