blob: 7f2cf53154b4889985fc86003ef96c1d59e60bd6 (
plain)
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
|
name: Alternative Build Systems
on: [push, pull_request]
jobs:
xmake:
name: Xmake on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [windows-2025, macos-15]
steps:
- uses: actions/checkout@v6
- uses: xmake-io/github-action-setup-xmake@v1
with:
xmake-version: '3.1.1'
- name: Configure Clang build
run: xmake f --toolchain=clang -m debug -y
- name: Build
run: xmake -j 4
- name: Run property tests
run: xmake run ProgmasoftPropertyTests
premake:
name: Premake on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [windows-2022, macos-15]
steps:
- uses: actions/checkout@v6
- uses: abel0b/setup-premake@v2.4
with:
version: '5.0.0-beta7'
- name: Generate and build Visual Studio projects
if: runner.os == 'Windows'
shell: pwsh
run: |
premake5 vs2022
msbuild build/premake/Catch3.sln /m /p:Configuration=Debug /p:Platform=x64 /nologo
- name: Run property tests on Windows
if: runner.os == 'Windows'
run: build/premake/bin/Debug/ProgmasoftPropertyTests.exe
- name: Generate and build Clang Makefiles
if: runner.os == 'macOS'
run: |
premake5 gmake
make -C build/premake config=debug -j 4
- name: Run property tests on macOS
if: runner.os == 'macOS'
run: build/premake/bin/Debug/ProgmasoftPropertyTests
|