File tree Expand file tree Collapse file tree 2 files changed +38
-3
lines changed Expand file tree Collapse file tree 2 files changed +38
-3
lines changed Original file line number Diff line number Diff line change
1
+ name : Run Tests
2
+
3
+ on : [push]
4
+
5
+ jobs :
6
+ build :
7
+ runs-on : ubuntu-latest
8
+ strategy :
9
+ max-parallel : 4
10
+ matrix :
11
+ python-version : [3.8, 3.7, 3.6]
12
+ steps :
13
+ - uses : actions/checkout@v1
14
+ - name : ' Set up Python ${{ matrix.python-version }}'
15
+ uses : actions/setup-python@v1
16
+ with :
17
+ python-version : ' ${{ matrix.python-version }}'
18
+
19
+ - name : ' Makefile help'
20
+ run : make
21
+
22
+ - name : ' cli.py help'
23
+ run : ./cli.py -h
24
+
25
+ - name : ' generate RSA keys'
26
+ run : make rsa-keys
27
+
28
+ - name : ' print RSA modulus'
29
+ run : make print-rsa-modulus
30
+
31
+ - name : ' update config'
32
+ run : make update-config
33
+
34
+ - name : ' verify'
35
+ run : make assert-yaota8266-setup
Original file line number Diff line number Diff line change @@ -5,16 +5,16 @@ help: ## This help page
5
5
@echo ' make targets:'
6
6
@grep -E ' ^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST ) | awk ' BEGIN {FS = ":.*?## "}; {printf " %-17s %s\n", $$1, $$2}'
7
7
8
- update-configs : # # Create config.h if not exists and/or insert current RSA modulus in config.h
9
- python3 cli.py update-configs
8
+ update-config : # # Create config.h if not exists and/or insert current RSA modulus in config.h
9
+ python3 cli.py update_config
10
10
11
11
print-rsa-modulus : # # Print the RSA modulus line for copy&paste into config.h
12
12
python3 cli.py print_rsa_modulus
13
13
14
14
rsa-keys : # # Generate RSA keys and print the RSA modulus line for copy&paste into config.h
15
15
python3 cli.py generate_rsa_keys
16
16
$(MAKE ) print-rsa-modulus
17
- $(MAKE ) update-configs
17
+ $(MAKE ) update-config
18
18
19
19
verify : # # Check RSA key, config.h and compiled "yaota8266.bin"
20
20
python3 cli.py verify
You can’t perform that action at this time.
0 commit comments