Skip to content

Commit

Permalink
Revert "(beta) fix apt mirror issue"
Browse files Browse the repository at this point in the history
This reverts commit 8bae341.
  • Loading branch information
KFERMercer committed Dec 13, 2019
1 parent 8bae341 commit 7004b72
Showing 1 changed file with 3 additions and 21 deletions.
24 changes: 3 additions & 21 deletions openwrt-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:

build:

runs-on: ubuntu-18.04
runs-on: ubuntu-latest

steps:

Expand All @@ -36,26 +36,8 @@ jobs:
DEBIAN_FRONTEND: noninteractive
run: |
docker rmi `docker images -q`
sudo rm -rf /usr/share/dotnet /etc/mysql /etc/php /etc/apt/sources.list.d
# modify apt mirrors
cat > /etc/apt/sources.list <<EOF
deb http://archive.ubuntu.com/ubuntu/ boinc main restricted universe multiverse
# deb-src http://archive.ubuntu.com/ubuntu/ boinc main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ boinc-security main restricted universe multiverse
# deb-src http://archive.ubuntu.com/ubuntu/ boinc-security main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ boinc-updates main restricted universe multiverse
# deb-src http://archive.ubuntu.com/ubuntu/ boinc-updates main restricted universe multiverse
# deb http://archive.ubuntu.com/ubuntu/ boinc-proposed main restricted universe multiverse
# deb-src http://archive.ubuntu.com/ubuntu/ boinc-proposed main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ boinc-backports main restricted universe multiverse
# deb-src http://archive.ubuntu.com/ubuntu/ boinc-backports main restricted universe multiverse
EOF
echo "Deleting files, please wait ..."
sudo rm -rf /usr/share/dotnet /etc/mysql /etc/php
sudo -E apt-get -y purge azure-cli ghc* zulu* hhvm llvm* firefox google* dotnet* powershell openjdk* mysql* php*
sudo -E apt-get update
sudo -E apt-get -y install build-essential asciidoc binutils bzip2 gawk gettext git libncurses5-dev libz-dev patch unzip zlib1g-dev lib32gcc1 libc6-dev-i386 subversion flex uglifyjs git-core gcc-multilib p7zip p7zip-full msmtp libssl-dev texinfo libglib2.0-dev xmlto qemu-utils upx libelf-dev autoconf automake libtool autopoint device-tree-compiler
Expand Down

0 comments on commit 7004b72

Please sign in to comment.