-
Notifications
You must be signed in to change notification settings - Fork 13
44 lines (44 loc) · 1.21 KB
/
build_plugins.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: build_plugins
on: [push]
jobs:
build:
strategy:
matrix:
runs-on: [ubuntu-latest, windows-latest]
runs-on: ${{ matrix.runs-on }}
steps:
- name: "Checkout repository"
uses: actions/checkout@v4
with:
submodules: true
- name : "Build plugins"
run: |
cd iolite_plugins
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release
cmake --build build --config Release
python update_build_metadata.py ${{ secrets.IOLITE_PLUGIN_SALT }}
- name : "Archive plugins"
uses: actions/upload-artifact@v4
with:
name: plugins-${{ matrix.runs-on }}
path: |
iolite_plugins/linux/*.so
iolite_plugins/linux/*.json
iolite_plugins/windows/*.dll
iolite_plugins/windows/*.json
merge:
needs: build
runs-on: ubuntu-latest
steps:
- name: "Download artifacts"
uses: actions/download-artifact@v4
with:
path: plugins
pattern: plugins-*
merge-multiple: true
- name : "Archive plugins"
uses: actions/upload-artifact@v4
with:
name: plugins
path: |
plugins/**/*