File tree Expand file tree Collapse file tree 1 file changed +26
-12
lines changed Expand file tree Collapse file tree 1 file changed +26
-12
lines changed Original file line number Diff line number Diff line change 1
- name : ubuntu -matrix
1
+ name : cargo-build -matrix
2
2
3
3
# Controls when the action will run.
4
4
on :
@@ -48,27 +48,41 @@ jobs:
48
48
- name : printenv
49
49
run : |
50
50
printenv
51
+ touch ~/GITHUB_TOKEN.txt
52
+
51
53
- name : install rustup
52
54
run : curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y && source "$HOME/.cargo/env"
53
- - name : make
55
+
56
+ - name : sudo apt-get install -y make
54
57
run : |
55
58
printenv && sudo apt-get update && \
56
59
sudo apt-get install -y make #\
57
60
#python3 \
58
61
#make autoconf automake \
59
62
#libtool gettext util-linux bash cmake clang
60
63
61
- - name : cmake -S . -B build && cd build && make
64
+ - name : cargo-c
65
+ run : |
66
+ make cargo-c
67
+
68
+ - name : cargo-b
62
69
run : |
63
- touch ~/GITHUB_TOKEN.txt
64
- #touch CMakeCache.txt
65
- #mkdir -p build
66
- #rm CMakeCache.txt || true
67
- #rm build/CMakeCache.txt || true
68
- #CMAKE_CXX_COMPILER=clang cmake -S . -B build && cd build && make
69
-
70
- - name : Build
71
- run : source "$HOME/.cargo/env" && cargo build --verbose
70
+ make cargo-b
71
+
72
+ - name : cargo-b-release
73
+ run : |
74
+ make cargo-b-release
75
+
76
+ - name : cargo-build-release-tokio
77
+ run : |
78
+ make cargo-build-release-tokio
79
+
80
+ - name : cargo-build-release-async-std
81
+ run : |
82
+ make cargo-build-release-async-std
83
+
84
+
85
+
72
86
- name : Run tests
73
87
run : source "$HOME/.cargo/env" && cargo test --verbose
74
88
You can’t perform that action at this time.
0 commit comments