-
Notifications
You must be signed in to change notification settings - Fork 12
36 lines (35 loc) · 1.02 KB
/
workflow.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
name: Cargo-liquid Github Actions
on:
push:
pull_request:
release:
types: [published, created, edited]
jobs:
win_test:
name: win_test
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-2019]
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 5
- name: install rust nightly
uses: actions-rs/toolchain@v1
with:
toolchain: nightly-2024-02-25
components: rustc-dev, rust-src, llvm-tools-preview
- name: install cargo-liquid
run: cargo install --path . --force
- name: install wasm-opt
run: cargo install wasm-opt --force
- name: compile test contract
run: cd .\tests\conflict_analysis_test\contract && cargo liquid build
- name: setup python
uses: actions/setup-python@v2
with:
python-version: '3.8'
architecture: 'x64'
#- name: verify conflict analysis result
# run: cd .\tests\conflict_analysis_test && python .\verify_conflict.py