-
Notifications
You must be signed in to change notification settings - Fork 19
54 lines (49 loc) · 1.37 KB
/
bsd.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
name: bsd
on:
push:
pull_request:
schedule:
- cron: '30 18 * * 0' # 18:30 every Sunday
jobs:
ncdevtool_check:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
path: src
- name: Pip install packages for ncdevtool
run: pip install -r ./src/devel/reqs/requirements_devel.txt
- name: ncdevtool checks
run: ./src/devel/bin/ncdevtool check -n "fix""me"
ctest:
needs: [ ncdevtool_check ]
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
path: src
- name: Test
uses: cross-platform-actions/action@v0.26.0
with:
operating_system: freebsd
version: '14.2'
#-DMCTOOLS_REQUIRE_ALL_TEST_DEPS=ON
run: |
sudo pkg install -y cmake
sudo pkg install -y python3
python3 --version
cmake -S ./src -B ./build -DCMAKE_BUILD_TYPE=Release -DNCRYSTAL_BUILD_STRICT=ON -DNCRYSTAL_ENABLE_TESTING=ON
cmake --build ./build --config Release
cd ./build
ctest --output-on-failure --test-output-size-failed 100000 --test-output-truncation middle
#
# uname -a
# echo $SHELL
# pwd
# ls -lah
# whoami
# env | sort
# ls -l ./src
#