From 158be476909f885307d45b4d07bae462d36497e9 Mon Sep 17 00:00:00 2001 From: Gyuho Lee Date: Thu, 9 Jan 2025 20:55:27 +0800 Subject: [PATCH 1/2] fix(ci): bump up linux header deps Signed-off-by: Gyuho Lee --- .github/workflows/build.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 98d9a15f..443276b0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -13,7 +13,9 @@ jobs: strategy: matrix: - kernel_version: [ "5.15.0-1065-aws", "6.8.0-1011-aws" ] + # https://launchpad.net/ubuntu/+source/linux-aws-5.15 + # https://launchpad.net/ubuntu/+source/linux-aws-6.8 + kernel_version: [ "5.15.0-1075-aws", "6.8.0-1021-aws" ] steps: - name: Checkout code From a40609685e5f9f0d1194f2d136ce830d259d578b Mon Sep 17 00:00:00 2001 From: Gyuho Lee Date: Thu, 9 Jan 2025 20:57:54 +0800 Subject: [PATCH 2/2] fix Signed-off-by: Gyuho Lee --- .github/workflows/build.yml | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 443276b0..5fa31df6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -11,12 +11,6 @@ jobs: build: runs-on: ubuntu-latest - strategy: - matrix: - # https://launchpad.net/ubuntu/+source/linux-aws-5.15 - # https://launchpad.net/ubuntu/+source/linux-aws-6.8 - kernel_version: [ "5.15.0-1075-aws", "6.8.0-1021-aws" ] - steps: - name: Checkout code uses: actions/checkout@v3 @@ -24,7 +18,7 @@ jobs: - name: Set up environment run: | sudo apt-get update - sudo apt-get install -y linux-headers-${{ matrix.kernel_version }} + sudo apt-get install -y linux-headers-$(uname -r) - name: Build project run: | @@ -33,5 +27,5 @@ jobs: - name: Upload build artifact uses: actions/upload-artifact@v4 with: - name: gpud-${{ matrix.kernel_version }} + name: gpud path: bin/gpud \ No newline at end of file