-
Notifications
You must be signed in to change notification settings - Fork 3
51 lines (48 loc) · 1.83 KB
/
hello-apps.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
name: hello-apps
on:
push:
branches: [ main ]
paths-ignore:
- '**.md' #Do not need to run CI for markdown changes.
pull_request:
branches: [ main, "feat/**" ]
paths-ignore:
- '**.md'
jobs:
smoketest:
strategy:
matrix:
os: [ "ubuntu-22.04", "macos-13", "windows-2022" ]
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: ilammy/msvc-dev-cmd@v1
- name: Install Ninja
uses: ./.github/actions/install-ninja
- name: Install boost
uses: ./.github/actions/install-boost
id: install-boost
- name: Install OpenSSL
uses: ./.github/actions/install-openssl
id: install-openssl
- name: Statically Linked Hello Apps
shell: bash
run: ./scripts/run-hello-apps.sh static hello-c-client hello-cpp-client hello-c-server hello-cpp-server
env:
BOOST_ROOT: ${{ steps.install-boost.outputs.BOOST_ROOT }}
OPENSSL_ROOT_DIR: ${{ steps.install-openssl.outputs.OPENSSL_ROOT_DIR }}
- name: Dynamically Linked Hello Apps (C API only)
shell: bash
continue-on-error: true # TODO(SC-223804)
run: ./scripts/run-hello-apps.sh dynamic hello-c-client hello-c-server
env:
BOOST_ROOT: ${{ steps.install-boost.outputs.BOOST_ROOT }}
OPENSSL_ROOT_DIR: ${{ steps.install-openssl.outputs.OPENSSL_ROOT_DIR }}
- name: Dynamically Linked Hello Apps (C and C++ APIs)
shell: bash
continue-on-error: true # TODO(SC-223804)
run: ./scripts/run-hello-apps.sh dynamic-export-all-symbols hello-c-client hello-cpp-client hello-c-server hello-cpp-server
env:
BOOST_ROOT: ${{ steps.install-boost.outputs.BOOST_ROOT }}
OPENSSL_ROOT_DIR: ${{ steps.install-openssl.outputs.OPENSSL_ROOT_DIR }}