forked from root-project/root
-
Notifications
You must be signed in to change notification settings - Fork 0
55 lines (44 loc) · 1.4 KB
/
Copy pathvisual-studio-latest.yml
File metadata and controls
55 lines (44 loc) · 1.4 KB
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: 'Visual Studio - Latest'
on:
workflow_dispatch:
schedule:
- cron: '0 7 * * 3'
jobs:
build-windows:
if: ${{ github.event.schedule == '0 7 * * 3' || github.event_name == 'workflow_dispatch' }}
permissions:
contents: read
strategy:
fail-fast: false
name: Build Visual Studio - Latest
runs-on:
- self-hosted
- windows
- x64
- latest
steps:
- name: Display Update Log - Visual Studio Latest
shell: cmd
run: "type C:\\ROOT-CI\\VS-Update.log"
- name: Checkout
uses: actions/checkout@v6
with:
ref: master
- name: Build after VS update
shell: cmd
run: "C:\\setenv.bat x64 &&
python .github/workflows/root-ci-config/build_root.py
--buildtype Release
--platform windows10
--incremental false
--binaries false
--upload_artifacts false
--base_ref master
--repository ${{ github.server_url }}/${{ github.repository }}
--architecture x64"
- name: Upload test results
if: ${{ !cancelled() }}
uses: actions/upload-artifact@v6
with:
name: Test Results - Visual Studio Latest
path: C:/ROOT-CI/build/TestResults.xml