-
Notifications
You must be signed in to change notification settings - Fork 237
31 lines (27 loc) · 1.11 KB
/
linux.build.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
name: Linux CI
# Controls when the action will run.
on:
push:
branches: 'master'
# Run for all pull requests
pull_request:
branches: '*'
types: [opened, synchronize, reopened]
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
BuildLinux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run Linux C++11
working-directory: ./
run: ./Scripts/BuildScripts/build_ci_linux.sh
- name: ABI Checker Report Generation
if: ${{ (github.ref != 'refs/heads/master' && github.event_name == 'push') || (github.event_name == 'pull_request' && github.event.pull_request.base.ref != 'master') }}
run: ./Scripts/BuildScripts/abi_checker.sh 2 $GITHUB_BASE_REF
- name: ABI Checker Upload
uses: actions/upload-artifact@v4
if: ${{ (github.ref != 'refs/heads/master' && github.event_name == 'push') || (github.event_name == 'pull_request' && github.event.pull_request.base.ref != 'master') }}
with:
name: abi-checker-reports
path: ./build/Debug/lib/compat_reports