Skip to content

Commit 0a991f3

Browse files
authored
Merge pull request #14 from xxuejie/overhaul
Refactor the whole lock script
2 parents 22de536 + 27041c7 commit 0a991f3

File tree

121 files changed

+24339
-1236
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

121 files changed

+24339
-1236
lines changed

.github/workflows/rust-with-clang.yml

Lines changed: 0 additions & 17 deletions
This file was deleted.

.github/workflows/rust.yml

Lines changed: 31 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,36 @@ on: [push, pull_request]
55
jobs:
66
build:
77

8-
runs-on: ubuntu-latest
8+
strategy:
9+
matrix:
10+
os: [ubuntu-latest, ubuntu-24.04-arm]
11+
12+
runs-on: ${{ matrix.os }}
13+
14+
steps:
15+
- uses: actions/checkout@v4
16+
with:
17+
submodules: "true"
18+
- name: Install llvm
19+
run: sudo apt update && sudo apt install -y clang llvm clang-format lld
20+
- uses: actions-rust-lang/setup-rust-toolchain@v1
21+
- name: Prepare, build, test, clippy, format
22+
run: make prepare build test clippy fmt
23+
- name: git diff
24+
run: git diff --exit-code
25+
26+
macos-build:
27+
28+
runs-on: macos-latest
929

1030
steps:
11-
- uses: actions/checkout@v1
12-
- name: Update submodules
13-
run: git submodule update --init
14-
- name: Run sphincs+ tests
15-
run: ./tests/sphincsplus/all_run.sh
16-
- name: Run sphincs+ rust tests
17-
run: ./tests/sphincsplus_rust/run_rust.sh
18-
- name: Run Tools tests
19-
run: cd tools/ckb-sphincs-tools && cargo test
31+
- uses: actions/checkout@v4
32+
with:
33+
submodules: true
34+
- name: Install latest llvm & lld
35+
run: brew install llvm lld
36+
- uses: actions-rust-lang/setup-rust-toolchain@v1
37+
- name: Prepare, build, test, clippy, format
38+
run: make prepare build test clippy fmt
39+
- name: git diff
40+
run: git diff --exit-code

.gitignore

Lines changed: 15 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -1,56 +1,16 @@
1-
# Prerequisites
2-
*.d
3-
4-
# Object files
5-
*.o
6-
*.ko
7-
*.obj
8-
*.elf
9-
10-
# Linker output
11-
*.ilk
12-
*.map
13-
*.exp
14-
15-
# Precompiled Headers
16-
*.gch
17-
*.pch
18-
19-
# Libraries
20-
*.lib
21-
*.a
22-
*.la
23-
*.lo
24-
25-
# Shared objects (inc. Windows DLLs)
26-
*.dll
27-
*.so
28-
*.so.*
29-
*.dylib
30-
31-
# Executables
32-
*.exe
33-
*.out
34-
*.app
35-
*.i*86
36-
*.x86_64
37-
*.hex
38-
39-
# Debug files
40-
*.dSYM/
41-
*.su
42-
*.idb
43-
*.pdb
44-
45-
# Kernel Module Compile Results
46-
*.mod*
47-
*.cmd
48-
.tmp_versions/
49-
modules.order
50-
Module.symvers
51-
Mkfile.old
52-
dkms.conf
53-
54-
.DS_Store
551
build/
56-
.vscode/
2+
/target
3+
/tests/failed_txs
4+
/test-vector*
5+
6+
/corpus*
7+
/hfuzz_target
8+
/hfuzz_workspace
9+
/fuzzing/fuzzing_syscalls_all_in_one.h
10+
/fuzzing/dumps
11+
/fuzzing/corpus*
12+
/fuzzing/*.o
13+
/fuzzing/leaf*.complete
14+
/fuzzing/leaf*intermediate/
15+
/fuzzing/*_fuzzer
16+
/fuzzing/binary_to_text_converter

0 commit comments

Comments
 (0)