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

pass --allow-system-packages to getdeps.py build of Mononoke #28

Closed
wants to merge 1 commit 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
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