Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

upgrade getdeps GitHub actions to Ubuntu 20 (#1050) #516

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 14 additions & 18 deletions .github/workflows/getdeps_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:

jobs:
build:
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Fetch ninja
Expand Down Expand Up @@ -51,22 +51,20 @@ jobs:
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests automake
- name: Fetch libtool
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests libtool
- name: Fetch bison
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests bison
- name: Fetch libsodium
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests libsodium
- name: Fetch xz
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests xz
- name: Fetch folly
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests folly
- name: Fetch fizz
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests fizz
- name: Fetch libffi
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests libffi
- name: Fetch ncurses
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests ncurses
- name: Fetch python
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests python
- name: Fetch xz
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests xz
- name: Fetch folly
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests folly
- name: Fetch fizz
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests fizz
- name: Fetch wangle
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests wangle
- name: Build ninja
Expand Down Expand Up @@ -105,26 +103,24 @@ jobs:
run: python3 build/fbcode_builder/getdeps.py build --no-tests automake
- name: Build libtool
run: python3 build/fbcode_builder/getdeps.py build --no-tests libtool
- name: Build bison
run: python3 build/fbcode_builder/getdeps.py build --no-tests bison
- name: Build libsodium
run: python3 build/fbcode_builder/getdeps.py build --no-tests libsodium
- name: Build xz
run: python3 build/fbcode_builder/getdeps.py build --no-tests xz
- name: Build folly
run: python3 build/fbcode_builder/getdeps.py build --no-tests folly
- name: Build fizz
run: python3 build/fbcode_builder/getdeps.py build --no-tests fizz
- name: Build libffi
run: python3 build/fbcode_builder/getdeps.py build --no-tests libffi
- name: Build ncurses
run: python3 build/fbcode_builder/getdeps.py build --no-tests ncurses
- name: Build python
run: python3 build/fbcode_builder/getdeps.py build --no-tests python
- name: Build xz
run: python3 build/fbcode_builder/getdeps.py build --no-tests xz
- name: Build folly
run: python3 build/fbcode_builder/getdeps.py build --no-tests folly
- name: Build fizz
run: python3 build/fbcode_builder/getdeps.py build --no-tests fizz
- name: Build wangle
run: python3 build/fbcode_builder/getdeps.py build --no-tests wangle
- name: Build fbthrift
run: python3 build/fbcode_builder/getdeps.py build --allow-system-packages --src-dir=. fbthrift --project-install-prefix fbthrift:/usr/local
run: python3 build/fbcode_builder/getdeps.py build --src-dir=. fbthrift --project-install-prefix fbthrift:/usr/local
- name: Copy artifacts
run: python3 build/fbcode_builder/getdeps.py fixup-dyn-deps --strip --src-dir=. fbthrift _artifacts/linux --project-install-prefix fbthrift:/usr/local --final-install-prefix /usr/local
- uses: actions/upload-artifact@v2
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/getdeps_mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,6 @@ jobs:
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests automake
- name: Fetch libtool
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests libtool
- name: Fetch bison
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests bison
- name: Fetch libsodium
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests libsodium
- name: Fetch xz
Expand Down Expand Up @@ -99,8 +97,6 @@ jobs:
run: python3 build/fbcode_builder/getdeps.py build --no-tests automake
- name: Build libtool
run: python3 build/fbcode_builder/getdeps.py build --no-tests libtool
- name: Build bison
run: python3 build/fbcode_builder/getdeps.py build --no-tests bison
- name: Build libsodium
run: python3 build/fbcode_builder/getdeps.py build --no-tests libsodium
- name: Build xz
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/getdeps_windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ jobs:
- name: Disable autocrlf
run: git config --system core.autocrlf false
- uses: actions/checkout@v2
- name: Fetch bison
run: python build/fbcode_builder/getdeps.py fetch --no-tests bison
- name: Fetch libsodium
run: python build/fbcode_builder/getdeps.py fetch --no-tests libsodium
- name: Fetch ninja
Expand Down Expand Up @@ -64,8 +62,6 @@ jobs:
run: python build/fbcode_builder/getdeps.py fetch --no-tests fizz
- name: Fetch wangle
run: python build/fbcode_builder/getdeps.py fetch --no-tests wangle
- name: Build bison
run: python build/fbcode_builder/getdeps.py build --no-tests bison
- name: Build libsodium
run: python build/fbcode_builder/getdeps.py build --no-tests libsodium
- name: Build ninja
Expand Down
2 changes: 1 addition & 1 deletion build/fbcode_builder/getdeps.py
Original file line number Diff line number Diff line change
Expand Up @@ -1115,7 +1115,7 @@ def setup_project_cmd_parser(self, parser):
help="Allow CI to fire on all branches - Handy for testing",
)
parser.add_argument(
"--ubuntu-version", default="18.04", help="Version of Ubuntu to use"
"--ubuntu-version", default="20.04", help="Version of Ubuntu to use"
)
parser.add_argument(
"--main-branch",
Expand Down