Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
Signed-off-by: onur-ozkan <work@onurozkan.dev>
  • Loading branch information
onur-ozkan committed Apr 4, 2024
1 parent f0db241 commit 731c8eb
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 4 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -595,6 +595,7 @@ jobs:
name: "try - ${{ matrix.name }}"
env:
DIST_TRY_BUILD: 1
DOWNLOAD_RUSTC: 1
CI_JOB_NAME: "${{ matrix.name }}"
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse
HEAD_SHA: "${{ github.event.pull_request.head.sha || github.sha }}"
Expand Down
1 change: 1 addition & 0 deletions src/ci/github-actions/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -757,6 +757,7 @@ jobs:
name: try - ${{ matrix.name }}
env:
DIST_TRY_BUILD: 1
DOWNLOAD_RUSTC: 1
<<: [*shared-ci-variables, *prod-variables]
if: github.event_name == 'push' && (((github.ref == 'refs/heads/try' || github.ref == 'refs/heads/try-perf') && github.repository == 'rust-lang-ci/rust') || ((github.ref == 'refs/heads/automation/bors/try') && github.repository == 'rust-lang/rust'))
strategy:
Expand Down
2 changes: 1 addition & 1 deletion src/doc/edition-guide
2 changes: 1 addition & 1 deletion src/doc/reference
2 changes: 1 addition & 1 deletion src/doc/rust-by-example
3 changes: 2 additions & 1 deletion src/tools/opt-dist/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,8 @@ enum EnvironmentCmd {
}

fn is_try_build() -> bool {
std::env::var("DIST_TRY_BUILD").unwrap_or_else(|_| "0".to_string()) != "0"
// std::env::var("DIST_TRY_BUILD").unwrap_or_else(|_| "0".to_string()) != "0";
false
}

fn create_environment(args: Args) -> anyhow::Result<(Environment, Vec<String>)> {
Expand Down

0 comments on commit 731c8eb

Please sign in to comment.