-
Notifications
You must be signed in to change notification settings - Fork 0
54 lines (42 loc) · 1.28 KB
/
build-windows.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
52
53
54
name: Build on Windows
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main", "releases/**" ]
workflow_dispatch:
inputs:
compiler:
required: false
type: string
default: clang
workflow_call:
inputs:
compiler:
required: true
type: string
default: clang
jobs:
build-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Install compiler ${{ inputs.compiler || 'clang' }}
id: install_cc
uses: rlalik/setup-cpp-compiler@master
with:
compiler: ${{ inputs.compiler || 'clang' }}
# - name: Set up Python ${{ inputs.python-version }}
# uses: actions/setup-python@v4
# with:
# python-version: ${{ inputs.python-version }}
# - name: Install python dependencies
# run: |
# python -m pip install --upgrade pip
- name: Build on Windows
run: ./build.bat
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: install-librir-windows-latest
path: build/install