upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml72
1 files changed, 72 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
new file mode 100644
index 0000000..e22b5a4
--- /dev/null
+++ b/.github/workflows/ci.yml
@@ -0,0 +1,72 @@
1name: CI
2
3on:
4 push:
5 pull_request:
6
7permissions:
8 contents: read
9
10concurrency:
11 group: ci-${{ github.workflow }}-${{ github.ref }}
12 cancel-in-progress: true
13
14jobs:
15 linux-headless:
16 name: Linux headless selftests
17 runs-on: ubuntu-latest
18 steps:
19 - name: Check out repository
20 uses: actions/checkout@v5
21
22 - name: Install Linux dependencies
23 run: make deps-linux
24
25 - name: Run Linux selftests
26 run: make tests
27
28 - name: Run Python tool regressions
29 run: python3 tests/scripts/test_bitflash_tools.py
30
31 - name: Run P2P message fuzz smoke
32 run: make fuzz-net-message-smoke
33
34 - name: Run script fuzz smoke
35 run: make fuzz-script-smoke
36
37 windows-ucrt64:
38 name: Windows UCRT64 selftests
39 runs-on: windows-latest
40 defaults:
41 run:
42 shell: msys2 {0}
43 steps:
44 - name: Check out repository
45 uses: actions/checkout@v5
46
47 - name: Set up MSYS2
48 uses: msys2/setup-msys2@v2
49 with:
50 msystem: UCRT64
51 update: true
52 install: >-
53 git
54 make
55 mingw-w64-ucrt-x86_64-gcc
56 mingw-w64-ucrt-x86_64-glfw
57 mingw-w64-ucrt-x86_64-openssl
58 mingw-w64-ucrt-x86_64-db
59 mingw-w64-ucrt-x86_64-sqlite3
60 mingw-w64-ucrt-x86_64-libsodium
61 mingw-w64-ucrt-x86_64-nlohmann-json
62 mingw-w64-ucrt-x86_64-boost
63 mingw-w64-ucrt-x86_64-cmake
64 autoconf
65 automake
66 libtool
67
68 - name: Build Windows dependencies
69 run: make deps-windows
70
71 - name: Run Windows selftests
72 run: cd src && make -f makefile.mingw tests