File tree Expand file tree Collapse file tree 1 file changed +22
-7
lines changed Expand file tree Collapse file tree 1 file changed +22
-7
lines changed Original file line number Diff line number Diff line change 1010jobs :
1111 build_and_test :
1212 name : Sugondat - latest
13- runs-on : ubuntu-latest
13+ runs-on : self-hosted
1414 strategy :
1515 matrix :
1616 toolchain :
1717 - stable
1818 steps :
1919 - uses : actions/checkout@v3
20- - run : sudo apt-get install protobuf-compiler
21- - run : rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
22- - run : rustup target add wasm32-unknown-unknown
23- - run : rustup install nightly && rustup target add wasm32-unknown-unknown --toolchain nightly
24- - run : cargo build --verbose --all
25- - run : cargo test --verbose --all
20+ - run : apt-get update
21+ - run : apt-get install -y protobuf-compiler
22+ - run : apt-get install -y build-essential
23+ - run : apt-get install -y libclang-dev
24+ - run : curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | bash -s -- -y
25+ - name : Setup toolchain
26+ run : |
27+ source "$HOME/.cargo/env"
28+ rustup update ${{ matrix.toolchain }}
29+ rustup default ${{ matrix.toolchain }}
30+ rustup target add wasm32-unknown-unknown
31+ rustup install nightly
32+ rustup target add wasm32-unknown-unknown --toolchain nightly
33+ - name : cargo build
34+ run : |
35+ source "$HOME/.cargo/env"
36+ cargo build --verbose --all
37+ - name : cargo test
38+ run : |
39+ source "$HOME/.cargo/env"
40+ cargo test --verbose --all
You can’t perform that action at this time.
0 commit comments