forked from doodlum/skyrim-community-shaders
-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (35 loc) · 1.08 KB
/
build.yaml
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 Community Shaders and addons
on:
push:
tags:
- 'v*'
workflow_dispatch:
permissions:
contents: write
env:
VCPKG_COMMIT_ID: e6aabd1415a1fc9f5e76deb3c5a40e27300aef2a
jobs:
compile:
name: build plugin and addons
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
with:
submodules: 'true'
- uses: ilammy/[email protected]
- uses: lukka/run-vcpkg@v11
with:
vcpkgGitCommitId: ${{ env.VCPKG_COMMIT_ID }}
- name: cmake configure
run: cmake -S . --preset=ALL --check-stamp-file "build\CMakeFiles\generate.stamp"
- name: cmake build
run: cmake --build build --config Release
- name: create a tagged release and upload the archive
uses: ncipollo/release-action@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
name: Community Shaders ${{ github.ref_name }}
draft: true
tag: ${{ github.ref_name }}
artifacts: "${{ github.workspace }}/dist/*.7z"