From 41ac776fc1360cca7c378113c799a454c6caf316 Mon Sep 17 00:00:00 2001 From: tison Date: Mon, 3 Apr 2023 19:59:03 +0800 Subject: [PATCH] ci: bump runner to supported ones and upgrade actions/checkout Signed-off-by: tison --- .github/workflows/compile.yml | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/.github/workflows/compile.yml b/.github/workflows/compile.yml index 57b6db43f..6fedde8f5 100644 --- a/.github/workflows/compile.yml +++ b/.github/workflows/compile.yml @@ -8,26 +8,26 @@ on: jobs: ubuntu-x86_64: - runs-on: ubuntu-18.04 + runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v2 - + - uses: actions/checkout@v3 + - name: Install environment shell: bash run: sudo apt-get install -y git wget rpm rpm2cpio cpio make build-essential binutils m4 - + - name: Build project shell: bash - run: | + run: | bash build.sh init bash build.sh debug cd build_debug && make -j4 centos-x86_64: - runs-on: ubuntu-18.04 + runs-on: ubuntu-20.04 container: centos:7 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Install environment shell: bash @@ -39,4 +39,3 @@ jobs: bash build.sh init bash build.sh debug cd build_debug && make -j4 -