Skip to content

Commit

Permalink
pass --allow-system-packages to getdeps.py build of Mononoke
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaspiatkowski committed Jul 16, 2020
1 parent 0dd3c4e commit 073240d
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 14 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/mononoke-integration_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Install Rust Stable
uses: actions-rs/toolchain@v1
with:
toolchain: stable
toolchain: 1.44.0
default: true
profile: minimal
- name: Install Python 2.7
Expand Down Expand Up @@ -50,13 +50,15 @@ jobs:
- name: Build mononoke dependencies
run: >-
python3 build/fbcode_builder/getdeps.py build
--allow-system-packages
--scratch-path /tmp/build
--only-deps
--src-dir=.
mononoke
- name: Build mononoke
run: >-
python3 build/fbcode_builder/getdeps.py build
--allow-system-packages
--scratch-path /tmp/build
--no-deps
--src-dir=.
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/mononoke-integration_mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Install Rust Stable
uses: actions-rs/toolchain@v1
with:
toolchain: stable
toolchain: 1.44.0
default: true
profile: minimal
- name: Install Python 2.7
Expand Down Expand Up @@ -48,13 +48,15 @@ jobs:
- name: Build mononoke dependencies
run: >-
python3 build/fbcode_builder/getdeps.py build
--allow-system-packages
--scratch-path /tmp/build
--only-deps
--src-dir=.
mononoke
- name: Build mononoke
run: >-
python3 build/fbcode_builder/getdeps.py build
--allow-system-packages
--scratch-path /tmp/build
--no-deps
--src-dir=.
Expand Down
14 changes: 8 additions & 6 deletions .github/workflows/mononoke_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,19 @@ jobs:
- name: Install Rust Stable
uses: actions-rs/toolchain@v1
with:
toolchain: stable
toolchain: 1.44.0
default: true
profile: minimal
- name: Install system deps
run: sudo python3 build/fbcode_builder/getdeps.py --allow-system-packages install-system-deps --recursive mononoke
- name: Build dependencies
run: python3 build/fbcode_builder/getdeps.py build --only-deps --src-dir=. mononoke
run: python3 build/fbcode_builder/getdeps.py build --allow-system-packages --only-deps --src-dir=. mononoke
- name: Build mononoke
run: python3 build/fbcode_builder/getdeps.py build --no-deps --src-dir=. mononoke
run: python3 build/fbcode_builder/getdeps.py build --allow-system-packages --no-deps --src-dir=. mononoke
- name: Check space
run: df -h
- name: Test mononoke
run: python3 build/fbcode_builder/getdeps.py test --src-dir=. mononoke
run: python3 build/fbcode_builder/getdeps.py test --allow-system-packages --src-dir=. mononoke
- name: Check space
run: df -h
- name: Install Rust Beta
Expand All @@ -42,7 +44,7 @@ jobs:
default: true
profile: minimal
- name: Test mononoke with beta toolchain
run: python3 build/fbcode_builder/getdeps.py test --src-dir=. mononoke
run: python3 build/fbcode_builder/getdeps.py test --allow-system-packages --src-dir=. mononoke
continue-on-error: true
- name: Install Rust Nightly
uses: actions-rs/toolchain@v1
Expand All @@ -51,7 +53,7 @@ jobs:
default: true
profile: minimal
- name: Test mononoke with nightly toolchain
run: python3 build/fbcode_builder/getdeps.py test --src-dir=. mononoke
run: python3 build/fbcode_builder/getdeps.py test --allow-system-packages --src-dir=. mononoke
continue-on-error: true
- name: Check space
run: df -h
15 changes: 9 additions & 6 deletions .github/workflows/mononoke_mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,20 @@ jobs:
- name: Install Rust Stable
uses: actions-rs/toolchain@v1
with:
toolchain: stable
toolchain: 1.44.0
default: true
profile: minimal
- name: Install system deps
run: sudo python3 build/fbcode_builder/getdeps.py --allow-system-packages install-system-deps --recursive monono
ke
- name: Build dependencies
run: python3 build/fbcode_builder/getdeps.py build --only-deps --src-dir=. mononoke
run: python3 build/fbcode_builder/getdeps.py build --allow-system-packages --only-deps --src-dir=. mononoke
- name: Build mononoke
run: python3 build/fbcode_builder/getdeps.py build --no-deps --src-dir=. mononoke
run: python3 build/fbcode_builder/getdeps.py build --allow-system-packages --no-deps --src-dir=. mononoke
- name: Check space
run: df -h
- name: Test mononoke
run: python3 build/fbcode_builder/getdeps.py test --src-dir=. mononoke
run: python3 build/fbcode_builder/getdeps.py test --allow-system-packages --src-dir=. mononoke
- name: Check space
run: df -h
- name: Install Rust Beta
Expand All @@ -40,7 +43,7 @@ jobs:
default: true
profile: minimal
- name: Test mononoke with beta toolchain
run: python3 build/fbcode_builder/getdeps.py test --src-dir=. mononoke
run: python3 build/fbcode_builder/getdeps.py test --allow-system-packages --src-dir=. mononoke
continue-on-error: true
- name: Install Rust Nightly
uses: actions-rs/toolchain@v1
Expand All @@ -49,7 +52,7 @@ jobs:
default: true
profile: minimal
- name: Test mononoke with nightly toolchain
run: python3 build/fbcode_builder/getdeps.py test --src-dir=. mononoke
run: python3 build/fbcode_builder/getdeps.py test --allow-system-packages --src-dir=. mononoke
continue-on-error: true
- name: Check space
run: df -h

0 comments on commit 073240d

Please sign in to comment.