File tree Expand file tree Collapse file tree 3 files changed +10
-8
lines changed Expand file tree Collapse file tree 3 files changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -20,21 +20,21 @@ jobs:
20
20
name : Pull Submodule
21
21
command : git submodule init && git submodule update --remote
22
22
# install rustup and tools
23
+ - run :
24
+ name : rustup install nightly
25
+ command : rustup install nightly && rustup default nightly
23
26
- run :
24
27
name : rustup version
25
28
command : rustup --version
26
29
- run :
27
30
name : rustup component add
28
31
command : rustup component add clippy rustfmt
29
- - run :
30
- name : rustup install nightly
31
- command : rustup install nightly
32
32
- run :
33
33
name : rustup target add
34
34
command : rustup target add thumbv6m-none-eabi thumbv7m-none-eabi thumbv7em-none-eabi thumbv7em-none-eabihf
35
35
- run :
36
36
name : rustup target add nightly
37
- command : rustup run nightly rustup target add thumbv6m-none-eabi thumbv7m-none-eabi thumbv7em-none-eabi thumbv7em-none-eabihf
37
+ command : rustup target add thumbv6m-none-eabi thumbv7m-none-eabi thumbv7em-none-eabi thumbv7em-none-eabihf
38
38
- run :
39
39
name : cargo install
40
40
command : cargo install wasm-pack
73
73
# run bench
74
74
- run :
75
75
name : bench
76
- command : cd test && rustup run nightly cargo bench --features "bench"
76
+ command : cd test && cargo bench --features "bench"
77
77
when : always
78
78
# build desktop
79
79
- run :
87
87
# build embedded
88
88
- run :
89
89
name : build embedded release
90
- command : cd embedded && rustup run nightly cargo build --release && make
90
+ command : cd embedded && cargo build --release && make
91
91
when : always
92
92
- store_artifacts :
93
93
path : embedded/target/BUILD/rust-nes-emulator-for-DISCO-F769NI.bin
Original file line number Diff line number Diff line change 1
1
FROM rust:1.37.0-buster
2
2
3
+ RUN rustup install nightly
4
+ RUN rustup default nightly
5
+
3
6
RUN apt-get update \
4
7
&& apt-get install -y git libgtk-3-dev
5
8
@@ -9,7 +12,6 @@ RUN npm install -g n
9
12
RUN n 10.15.1
10
13
RUN cargo install wasm-pack
11
14
RUN rustup target add thumbv6m-none-eabi thumbv7m-none-eabi thumbv7em-none-eabi thumbv7em-none-eabihf
12
- RUN rustup install nightly
13
15
RUN rustup run nightly rustup target add thumbv6m-none-eabi thumbv7m-none-eabi thumbv7em-none-eabi thumbv7em-none-eabihf
14
16
15
17
RUN mkdir /work
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ NES Emulator written in Rust
19
19
20
20
## Let's Play
21
21
22
- rustc 1.37.0 required
22
+ rustc 1.39.0-nightly required (for embedded optimization...)
23
23
24
24
### Desktop Application
25
25
You can’t perform that action at this time.
0 commit comments