-
Notifications
You must be signed in to change notification settings - Fork 318
64 lines (57 loc) · 1.65 KB
/
solaris.yml
File metadata and controls
64 lines (57 loc) · 1.65 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
name: FluidSynth Solaris
on:
pull_request:
push:
paths-ignore:
- '.azure/**'
- '.circleci/**'
- '.github/workflows/api_doc_build.yml'
- '.github/workflows/linux.yml'
- '.github/workflows/ios.yml'
- '.github/workflows/rendering-regression.yml'
- '.github/workflows/sonarcloud.yml'
- '.github/workflows/windows.yml'
- '.cirrus.yml'
- 'README.md'
env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
BUILD_TYPE: RelWithDebInfo
# Use a bash shell so we can use the same syntax for environment variable
# access regardless of the host operating system
defaults:
run:
shell: bash
jobs:
solaris:
name: Solaris
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
with:
submodules: true
- name: Build & test
uses: vmactions/solaris-vm@v1.3.1
with:
envs: 'CFLAGS_SOLARIS_CC'
usesh: true
release: "11.4-gcc"
prepare: |
pwd
ls -la
gcc --version
g++ --version
cmake --version
ld --version
exit 0
run: |
set -ex
cmake -S . \
-B build \
-DCMAKE_BUILD_TYPE=${{ env.BUILD_TYPE }} \
-DCMAKE_VERBOSE_MAKEFILE=1 \
-Denable-readline=0 \
-Werror=dev
cmake --build build
cmake --build build --target check
cmake --build build --target demo