-
-
Notifications
You must be signed in to change notification settings - Fork 235
110 lines (97 loc) · 2.96 KB
/
core_tests.yml
File metadata and controls
110 lines (97 loc) · 2.96 KB
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
# Copyright 2023 Nikita Kniazev
#
# Use, modification, and distribution are subject to the
# Boost Software License, Version 1.0. (See accompanying file LICENSE.txt)
name: "Extra Tests"
on:
push:
paths-ignore: #&paths
- '.circleci/**'
- '.cirrus.yml'
- '.drone.star'
- '.semaphore/**'
- '.travis.yml'
- 'appveyor.yml'
- 'azure-pipelines.yml'
- '.ci/azp-*.yml'
pull_request:
paths-ignore: #*paths #https://github.com/actions/runner/issues/1182
- '.circleci/**'
- '.cirrus.yml'
- '.drone.star'
- '.semaphore/**'
- '.travis.yml'
- 'appveyor.yml'
- 'azure-pipelines.yml'
- '.ci/azp-*.yml'
concurrency:
# cancel test runners on force-push in pull requests
group: ${{ github.event_name == 'push' && github.event.forced && github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
msys2:
name: Windows msys2 ${{matrix.msys}} ${{matrix.toolset}}
runs-on: windows-latest
strategy:
fail-fast: false
matrix:
msys:
- mingw64
- mingw32
- ucrt64
- clang64
toolset:
- clang
- gcc
defaults:
run:
shell: msys2 {0}
steps:
- name: Checkout
uses: actions/checkout@main
- name: Install Toolset
uses: msys2/setup-msys2@v2
with:
msystem: ${{matrix.msys}}
pacboy: python:p ${{matrix.toolset}}:p
- name: Bootstrap
run: ./bootstrap.sh ${{matrix.toolset}}
- name: Test
working-directory: test
env: { PYTHONUTF8: 1 }
run: ./test_all.py ${{matrix.toolset}}
- name: 'No Warnings'
run: ./b2 warnings=all warnings-as-errors=on variant=debug,release debug-symbols=off toolset=${{matrix.toolset}} b2
filc:
name: Fil-C
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
version:
- 0.678
steps:
- name: Checkout
uses: actions/checkout@main
with: { path: "b2" }
- name: Install Toolset
run: |
cd "${{github.workspace}}"
wget "https://github.com/pizlonator/fil-c/releases/download/v${{matrix.version}}/optfil-${{matrix.version}}-linux-x86_64.tar.xz"
tar -Jxvf "optfil-${{matrix.version}}-linux-x86_64.tar.xz"
cd "optfil-${{matrix.version}}-linux-x86_64"
sudo ./setup.sh -u
/opt/fil/bin/fil++ --version
echo | /opt/fil/bin/fil++ -dM -E -x c++ -
- name: Bootstrap
working-directory: b2
run: |
./bootstrap.sh "--cxx=/opt/fil/bin/fil++" clang
echo "using clang : : /opt/fil/bin/fil++ ;" > "${HOME}/user-config.jam"
- name: Test
working-directory: b2/test
env: { PYTHONUTF8: 1 }
run: ./test_all.py clang
- name: 'No Warnings'
working-directory: b2
run: ./b2 warnings=all warnings-as-errors=on variant=debug,release debug-symbols=off toolset=clang b2