FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
RustPython/.github/workflows/update-caches.yml at main · RustPython/RustPython · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
RustPython
/
RustPython
Public
Notifications
You must be signed in to change notification settings
Fork
1.5k
Star
22.3k
Code
Issues
295
Pull requests
103
Discussions
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
RustPython
/
.github
/
workflows
/
update-caches.yml
Copy path
View runs
More file actions
More file actions
Latest commit
History
History
History
78 lines (67 loc) · 2.3 KB
Breadcrumbs
RustPython
/
.github
/
workflows
/
update-caches.yml
Copy path
File metadata and controls
78 lines (67 loc) · 2.3 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
name
:
Update Actions Caches
permissions
:
contents
:
read
on
:
workflow_dispatch
:
push
:
branches
:
-
main
concurrency
:
group
:
${{ github.workflow }}
cancel-in-progress
:
false
env
:
CARGO_INCREMENTAL
:
0
CARGO_TERM_COLOR
:
always
CARGO_PROFILE_TEST_DEBUG
:
0
CARGO_PROFILE_DEV_DEBUG
:
0
CARGO_PROFILE_RELEASE_DEBUG
:
0
#
Keep feature list in sync with CI's release build in .github/workflows/ci.yaml.
CARGO_ARGS
:
--workspace --no-default-features --features stdlib,importlib,stdio,encodings,sqlite,ssl-rustls-aws-lc,host_env,threading,jit --exclude rustpython_wasm --exclude rustpython-compiler-source --exclude rustpython-venvlauncher
jobs
:
build-caches
:
name
:
Build Caches
runs-on
:
${{ matrix.os }}
strategy
:
matrix
:
include
:
-
os
:
macos-latest
toolchain
:
stable
target
:
"
"
-
os
:
ubuntu-latest
toolchain
:
stable
target
:
"
"
-
os
:
windows-latest
toolchain
:
stable
target
:
"
"
steps
:
-
name
:
Checkout RustPython main branch
uses
:
actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
#
v7.0.1
with
:
repository
:
RustPython/RustPython
ref
:
main
persist-credentials
:
false
-
name
:
Setup Rust
uses
:
dtolnay/rust-toolchain@stable
with
:
toolchain
:
${{ matrix.toolchain }}
target
:
${{ matrix.target }}
-
name
:
Install macos dependencies
uses
:
./.github/actions/install-macos-deps
with
:
openssl
:
true
-
name
:
Build dev cache
#
dev profile used by check & doc
run
:
cargo build --profile dev ${{ env.CARGO_ARGS }}
-
name
:
Build test cache
run
:
cargo build --profile test ${{ env.CARGO_ARGS }}
-
name
:
Build release cache
run
:
cargo build --profile release ${{ env.CARGO_ARGS }}
-
name
:
Save cache
uses
:
actions/cache/save@55cc8345863c7cc4c66a329aec7e433d2d1c52a9
#
v6.1.0
with
:
path
:
|
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key
:
${{ runner.os }}-${{ matrix.toolchain }}-${{ matrix.target }}-${{ hashFiles('**/Cargo.toml') }}-${{ hashFiles('Cargo.lock') }}-${{ github.sha }}
Back
|
FazBrowse Home
|
New Git URL