Skip to content

Commit 2064c97

Browse files
committed
chore: run CI on our dev branch too
1 parent 38bb785 commit 2064c97

File tree

1 file changed

+20
-5
lines changed

1 file changed

+20
-5
lines changed

.github/workflows/test.yml

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,11 @@ on:
44
push:
55
branches:
66
- main
7+
- feat-add-pro-backend-fns
78
pull_request:
89
branches:
910
- main
11+
- feat-add-pro-backend-fns
1012

1113
concurrency:
1214
group: ${{ github.workflow }}
@@ -19,7 +21,7 @@ jobs:
1921
strategy:
2022
fail-fast: false
2123
matrix:
22-
os: [windows-2022, macos-13, macos-14, ubuntu-22.04]
24+
os: [windows-2022, macos-13, macos-14, ubuntu-24.04]
2325
env:
2426
SIGNAL_ENV: production
2527
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -29,16 +31,21 @@ jobs:
2931
- name: Checkout git repo
3032
uses: actions/checkout@v4
3133
with:
32-
submodules: 'recursive'
34+
submodules: "recursive"
35+
36+
- name: Install correct clang versions
37+
if: runner.os == 'Linux'
38+
run: sudo apt update && sudo apt search clang && sudo apt install clang-format-19 #clang-tidy-19
39+
shell: bash
3340

3441
- name: Install node
3542
uses: actions/setup-node@v3
3643
with:
37-
node-version-file: '.nvmrc'
44+
node-version-file: ".nvmrc"
3845

3946
- uses: actions/setup-python@v4
4047
with:
41-
python-version: '3.11'
48+
python-version: "3.11"
4249

4350
- name: Add msbuild to PATH
4451
uses: microsoft/[email protected]
@@ -48,7 +55,15 @@ jobs:
4855
shell: bash
4956
run: yarn update_version
5057

51-
5258
- name: build libsession-util-nodejs
5359
shell: bash
5460
run: yarn install --frozen-lockfile
61+
62+
- name: Check formatting
63+
if: runner.os == 'Linux'
64+
run: clang-format-19 --dry-run --Werror src/*.cpp include/*.hpp src/**/*.cpp include/**/*.hpp
65+
shell: bash
66+
67+
# - name: Run clang-tidy
68+
# run: clang-tidy-19 -p build src/*.cpp include/*.hpp src/**/*.cpp include/**/*.hpp
69+
# shell: bash

0 commit comments

Comments
 (0)