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
22
33# Controls when the action will run.
44on :
@@ -48,27 +48,41 @@ jobs:
4848 - name : printenv
4949 run : |
5050 printenv
51+ touch ~/GITHUB_TOKEN.txt
52+
5153 - name : install rustup
5254 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
5457 run : |
5558 printenv && sudo apt-get update && \
5659 sudo apt-get install -y make #\
5760 #python3 \
5861 #make autoconf automake \
5962 #libtool gettext util-linux bash cmake clang
6063
61- - name : cmake -S . -B build && cd build && make
64+ - name : cargo-c
65+ run : |
66+ make cargo-c
67+
68+ - name : cargo-b
6269 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+
7286 - name : Run tests
7387 run : source "$HOME/.cargo/env" && cargo test --verbose
7488
You can’t perform that action at this time.
0 commit comments