Skip to content

Commit

Permalink
Reapply "ci: go back to ubuntu-22.04 due to broken dependencies"
Browse files Browse the repository at this point in the history
This reverts commit 4078a3d.
  • Loading branch information
silenium-dev committed Jul 27, 2024
1 parent 4374465 commit 13f2277
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 17 deletions.
9 changes: 2 additions & 7 deletions .github/actions/deploy-ubuntu/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,13 +117,8 @@ runs:
cat /etc/apt/sources.list
for f in /etc/apt/sources.list.d/*.list; do echo "$f:"; cat $f; done
$SUDO apt-get update
$SUDO apt-get -y install gcc-multilib g++-multilib gfortran-multilib python3 python2.7 python3-minimal python2.7-minimal rpm libasound2-dev:$ARCH freeglut3-dev:$ARCH libfontconfig-dev:$ARCH libgtk2.0-dev:$ARCH libusb-dev:$ARCH libusb-1.0-0-dev:$ARCH libffi-dev:$ARCH libbz2-dev:$ARCH zlib1g-dev:$ARCH libxcb1-dev:$ARCH libpulse-dev:$ARCH libdrm-dev:$ARCH
$SUDO apt-get -y install pkgconf ccache clang $TOOLCHAIN openjdk-8-jdk-headless ant python2 python3-pip swig git file wget unzip tar bzip2 gzip patch autoconf-archive autogen automake cmake make libtool bison flex perl nasm ragel curl libcurl4-openssl-dev libssl-dev libffi-dev libbz2-dev zlib1g-dev rapidjson-dev
mkdir -p debs
pushd debs
apt-get -y download libva-dev:$ARCH libva2:$ARCH
$SUDO dpkg --force-all -i *.deb
popd
$SUDO apt-get -y install gcc-multilib g++-multilib gfortran-multilib python3 python2.7 python3-minimal python2.7-minimal rpm libasound2-dev:$ARCH freeglut3-dev:$ARCH libfontconfig-dev:$ARCH libgtk2.0-dev:$ARCH libusb-dev:$ARCH libusb-1.0-0-dev:$ARCH libffi-dev:$ARCH libbz2-dev:$ARCH zlib1g-dev:$ARCH libxcb1-dev:$ARCH libpulse-dev:$ARCH libdrm-dev:$ARCH libva-dev:$ARCH
$SUDO apt-get -y install pkgconf ccache clang $TOOLCHAIN openjdk-8-jdk ant python2 python3-pip swig git file wget unzip tar bzip2 gzip patch autoconf-archive autogen automake cmake make libtool bison flex perl nasm ragel curl libcurl4-openssl-dev libssl-dev libffi-dev libbz2-dev zlib1g-dev rapidjson-dev
export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64/
echo "JAVA_HOME=$JAVA_HOME" >> $GITHUB_ENV
Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/ffmpeg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,39 +21,39 @@ permissions:
contents: write
jobs:
# android-arm:
# runs-on: ubuntu-20.04
# runs-on: ubuntu-22.04
# strategy:
# matrix:
# gpl: ["false", "true"]
# steps:
# - uses: actions/checkout@v4
# - uses: ./.github/actions/deploy-ubuntu
# android-arm64:
# runs-on: ubuntu-20.04
# runs-on: ubuntu-22.04
# strategy:
# matrix:
# gpl: ["false", "true"]
# steps:
# - uses: actions/checkout@v4
# - uses: ./.github/actions/deploy-ubuntu
# android-x86:
# runs-on: ubuntu-20.04
# runs-on: ubuntu-22.04
# strategy:
# matrix:
# gpl: ["false", "true"]
# steps:
# - uses: actions/checkout@v4
# - uses: ./.github/actions/deploy-ubuntu
# android-x86_64:
# runs-on: ubuntu-20.04
# runs-on: ubuntu-22.04
# strategy:
# matrix:
# gpl: ["false", "true"]
# steps:
# - uses: actions/checkout@v4
# - uses: ./.github/actions/deploy-ubuntu
linux-arm:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
strategy:
matrix:
gpl: ["false", "true"]
Expand All @@ -64,7 +64,7 @@ jobs:
with:
gradle-cache-encryption-key: ${{ secrets.GRADLE_CACHE_ENCRYPTION_KEY }}
linux-arm64:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
strategy:
matrix:
gpl: ["false", "true"]
Expand All @@ -75,7 +75,7 @@ jobs:
with:
gradle-cache-encryption-key: ${{ secrets.GRADLE_CACHE_ENCRYPTION_KEY }}
linux-ppc64le:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
strategy:
matrix:
gpl: ["false", "true"]
Expand All @@ -97,7 +97,7 @@ jobs:
with:
gradle-cache-encryption-key: ${{ secrets.GRADLE_CACHE_ENCRYPTION_KEY }}
linux-x86_64:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
strategy:
matrix:
gpl: ["false", "true"]
Expand Down Expand Up @@ -142,13 +142,13 @@ jobs:
# redeploy:
# needs: [android-arm, android-arm64, android-x86, android-x86_64, linux-arm, linux-arm64, linux-ppc64le, linux-x86, linux-x86_64, macosx-arm64, macosx-x86_64, windows-x86, windows-x86_64]
# needs: [android-arm64, android-x86_64, linux-arm64, linux-ppc64le, linux-x86_64, macosx-arm64, macosx-x86_64, windows-x86_64]
# runs-on: ubuntu-20.04
# runs-on: ubuntu-22.04
# steps:
# - uses: actions/checkout@v4
# - uses: ./.github/actions/redeploy
deploy-kotlin:
name: Publish Kotlin artifacts
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/deploy-kotlin
Expand Down

0 comments on commit 13f2277

Please sign in to comment.