Skip to content

Commit

Permalink
update: runner to ubuntu 20.04
Browse files Browse the repository at this point in the history
update: runner to ubuntu 20.04

update: runner to ubuntu 20.04

update: runner to ubuntu 20.04

update: runner to ubuntu 20.04

update: runner to ubuntu 20.04

update: runner to ubuntu 20.04

update: runner to ubuntu 20.04

update: runner to ubuntu 20.04

update: runner to ubuntu 20.04
  • Loading branch information
msojocs committed May 10, 2023
1 parent 363d1ef commit 49b8775
Showing 1 changed file with 27 additions and 8 deletions.
35 changes: 27 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ jobs:
name: Build Windows
needs:
- build-src
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04

strategy:
matrix:
Expand All @@ -153,14 +153,33 @@ jobs:

- name: Prepare
run: |
sudo npm install asar -g
set -x -u -o pipefail
source /etc/os-release
# Get rid of packages installed from ppa:ondrej/php so that we will be able to install wine32:i386 without conflicts
# (see issue https://github.com/actions/virtual-environments/issues/4589)
# In detail we:
# 1. Remove all packages that ppa:ondrej/php has but plain Ubuntu doesn't, e.g. everything PHP
# 2. Revert (remaining) packages that ppa:ondrej/php and plain Ubuntu share, back to the plain Ubuntu version
# 3. Assert that no packages from ppa:ondrej/php are left installed
dpkg -l | grep '^ii' | grep -F deb.sury.org | awk '{print $2}' | grep '^php' \
| xargs -r -t sudo apt-get remove --yes libpcre2-posix3 libzip4
dpkg -l | grep '^ii' | grep -F deb.sury.org | awk '{print $2}' | sed "s,\$,/${UBUNTU_CODENAME}," \
| xargs -r -t sudo apt-get install --yes --no-install-recommends --allow-downgrades -V
! dpkg -l | grep '^ii' | grep -F deb.sury.org
sudo apt update
sudo apt install wine64
sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install libwine wine32
sudo apt install -y wine64
sudo dpkg --add-architecture i386
dpkg --print-foreign-architectures
sudo apt update
sudo apt install libwine
echo "install wine32..."
sudo apt install wine32
sudo npm install asar -g
npm install
echo "$UID, $GID"
echo "$UID"
- name: Generate TAG
id: Tag
Expand Down Expand Up @@ -199,7 +218,7 @@ jobs:
name: Build Deepin Package
needs:
- build-src
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04

strategy:
matrix:
Expand Down

0 comments on commit 49b8775

Please sign in to comment.