Skip to content

Commit

Permalink
Build on Ubuntu 22.04
Browse files Browse the repository at this point in the history
On Github Actions, ubuntu-latest is now ubuntu-24.04, which uses a new
version of glibc, so the resulting binaries do not work on older
versions.

TODO ref 5689
  • Loading branch information
rom1v committed Dec 19, 2024
1 parent dc2fcc4 commit 79a331c
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ env:

jobs:
test-scrcpy-server:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
env:
GRADLE: gradle # use native gradle instead of ./gradlew in scripts
steps:
Expand All @@ -29,7 +29,7 @@ jobs:
run: release/test_server.sh

build-scrcpy-server:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
env:
GRADLE: gradle # use native gradle instead of ./gradlew in scripts
steps:
Expand All @@ -52,7 +52,7 @@ jobs:
path: release/work/build-server/server/scrcpy-server

test-build-scrcpy-server-without-gradle:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand All @@ -67,7 +67,7 @@ jobs:
run: server/build_without_gradle.sh

test-client:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand All @@ -84,7 +84,7 @@ jobs:
run: release/test_client.sh

build-linux-x86_64:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Check architecture
run: |
Expand Down Expand Up @@ -124,7 +124,7 @@ jobs:
path: release/work/build-linux-x86_64/dist-tar/

build-win32:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand Down Expand Up @@ -155,7 +155,7 @@ jobs:
path: release/work/build-win32/dist-tar/

build-win64:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand Down Expand Up @@ -262,7 +262,7 @@ jobs:
needs:
- build-scrcpy-server
- build-linux-x86_64
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand Down Expand Up @@ -298,7 +298,7 @@ jobs:
needs:
- build-scrcpy-server
- build-win32
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand Down Expand Up @@ -334,7 +334,7 @@ jobs:
needs:
- build-scrcpy-server
- build-win64
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand Down Expand Up @@ -370,7 +370,7 @@ jobs:
needs:
- build-scrcpy-server
- build-macos-aarch64
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand Down Expand Up @@ -406,7 +406,7 @@ jobs:
needs:
- build-scrcpy-server
- build-macos-x86_64
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand Down Expand Up @@ -446,7 +446,7 @@ jobs:
- package-win64
- package-macos-aarch64
- package-macos-x86_64
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand Down

0 comments on commit 79a331c

Please sign in to comment.