Skip to content

Commit 66f0b06

Browse files
using ubuntu20.04 to build bcu to avoid GLIBC version issue
Signed-off-by: Clark Wang <xiaoning.wang@nxp.com>
1 parent 9ed8294 commit 66f0b06

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

.github/workflows/main.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
build:
1010
strategy:
1111
matrix:
12-
os: [windows-latest, ubuntu-latest, macos-latest]
12+
os: [windows-latest, ubuntu-22.04, macos-latest]
1313
configuration: [Release]
1414
platform: ['x64']
1515
runs-on: ${{ matrix.os }}
@@ -25,7 +25,7 @@ jobs:
2525

2626
# Install dependencies
2727
- name: Install dependencies
28-
if: matrix.os == 'ubuntu-latest'
28+
if: matrix.os == 'ubuntu-22.04'
2929
run: |
3030
sudo apt-get update
3131
sudo apt-get install -y libyaml-dev libftdi1-dev libusb-1.0-0-dev
@@ -54,7 +54,7 @@ jobs:
5454
if: matrix.os != 'windows-latest'
5555
run: |
5656
echo $CI_BUILD_VERSION
57-
if [[ "${{ matrix.os }}" == "ubuntu-latest" ]]; then
57+
if [[ "${{ matrix.os }}" == "ubuntu-22.04" ]]; then
5858
cmake .
5959
elif [[ "${{ matrix.os }}" == "macos-latest" ]]; then
6060
export PATH="/usr/local/Cellar/pkg-config/0.29.2_3/bin:${PATH}"
@@ -92,7 +92,7 @@ jobs:
9292
9393
deploy:
9494
needs: build
95-
runs-on: ubuntu-latest
95+
runs-on: ubuntu-22.04
9696
steps:
9797
# Check out the code
9898
- name: Checkout code
@@ -102,8 +102,8 @@ jobs:
102102
- name: Download artifacts (Ubuntu)
103103
uses: actions/download-artifact@v4
104104
with:
105-
name: bcu-artifacts-${{ github.run_id }}-ubuntu-latest
106-
path: artifacts/ubuntu-latest
105+
name: bcu-artifacts-${{ github.run_id }}-ubuntu-22.04
106+
path: artifacts/ubuntu-22.04
107107

108108
- name: Download artifacts (macOS)
109109
uses: actions/download-artifact@v4
@@ -128,7 +128,7 @@ jobs:
128128
Commit message: ${{ github.event.head_commit.message }}
129129
draft: true
130130
files: |
131-
artifacts/ubuntu-latest/bcu
131+
artifacts/ubuntu-22.04/bcu
132132
artifacts/macos-latest/bcu_mac
133133
artifacts/windows-latest/bcu.exe
134134
env:

0 commit comments

Comments
 (0)