forked from nervosnetwork/ckb-vm
-
Notifications
You must be signed in to change notification settings - Fork 0
56 lines (51 loc) · 1.43 KB
/
develop.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
name: develop
on:
pull_request:
push:
jobs:
linux-x86:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Dep
run: |
rustup component add clippy
rustup component add rustfmt
# https://github.com/EmbarkStudios/cargo-deny-action
- uses: EmbarkStudios/cargo-deny-action@v1
with:
arguments: --all-features
command: check advisories licenses sources bans
- name: Run ci-generated
run: make ci-generated
- name: Run ci
run: make ci
- name: Run ci-asm
run: make ci-asm
- name: Run spawn tests in release
run: cargo test test_spawn --release --features=asm -- --nocapture
macos:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- name: Run ci-asm
run: make ci-asm
windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Dep
shell: pwsh
# https://github.com/ScoopInstaller/Install#for-admin
run: |
iex "& {$(irm get.scoop.sh)} -RunAsAdmin"
scoop install llvm
scoop install yasm
- name: Run ci-asm
shell: pwsh
run: |
$env:path="C:\Users\runneradmin\scoop\apps\llvm\current;"+$env:path
$env:path="C:\Users\runneradmin\scoop\apps\yasm\current;"+$env:path
Get-Command clang
Get-Command yasm
make ci-asm