forked from mono/CppSharp
-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (35 loc) · 1.05 KB
/
llvm.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
name: LLVM
on:
workflow_dispatch:
jobs:
build:
strategy:
fail-fast: false
matrix:
config:
- { os: ubuntu-22.04, platform: x64, cxx: g++-11, cc: gcc-11 }
- { os: macos-11, platform: x64, cxx: clang++, cc: clang }
- { os: macos-12, platform: x64, cxx: clang++, cc: clang }
runs-on: ${{ matrix.config.os }}
env:
CC: ${{ matrix.config.cc }}
CXX: ${{ matrix.config.cxx }}
PLATFORM: ${{ matrix.config.platform }}
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
steps:
- uses: actions/checkout@v3
- uses: lukka/get-cmake@latest
- name: Clone LLVM
shell: bash
run: build/build.sh clone_llvm
- name: Build LLVM
shell: bash
run: build/build.sh build_llvm -platform $PLATFORM
- name: Package LLVM
shell: bash
run: build/build.sh package_llvm -platform $PLATFORM
- name: 'Upload Artifact'
uses: actions/upload-artifact@v3
with:
name: llvm
path: build/llvm/llvm-*-*.*