-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.gitlab-ci.yml
83 lines (78 loc) · 3.18 KB
/
.gitlab-ci.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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
# Runs on My Dev Machine only, no correspondoing linux dual boot
Windows-AMD-Nvidia-GPU:
tags:
- Windows-AMD-Nvidia-GPU
stage: build
script:
- echo "Hello, $GITLAB_USER_LOGIN!"
- $env:CHERE_INVOKING = 'yes'
- $env:MSYSTEM = 'MINGW64' # https://www.msys2.org/docs/environments/
- C:\msys64\usr\bin\bash -lc ' '
- C:\msys64\usr\bin\bash -lc 'pacman --noconfirm -Syuu'
- C:\msys64\usr\bin\bash -lc 'pacman --noconfirm -Syuu'
- C:\msys64\usr\bin\bash -lc 'pacman --noconfirm -S git mingw-w64-x86_64-gcc make mingw-w64-x86_64-shaderc mingw-w64-x86_64-libpng'
- C:\msys64\usr\bin\bash -lc './ci-build.sh'
# Runs on AMD GPU machine with Linux Mint operating system (dual-booted with Windows 11)
Linux-AMD-GPU:
tags:
- Linux-AMD-GPU
stage: build
script:
- echo "Hello World"
- sudo apt-get update
- sudo apt-get install build-essential
- sudo apt-get install -y libz-dev
- sudo apt-get install -y libpng-dev
- sudo apt-get install -y libbrotli-dev
- sudo chmod +x ./ci-build.sh
- ./ci-build.sh
# reboot to windows
- sudo chmod +x ./switch-to-windows.sh
- ./switch-to-windows.sh
# Runs on Intel GPU machine with Linux Mint operating system (dual-booted with Windows 11)
Linux-Intel-GPU:
tags:
- Linux-Intel-GPU
stage: build
script:
- echo "Hello World"
- sudo apt-get update
- sudo apt-get install build-essential
- sudo apt-get install -y libz-dev
- sudo apt-get install -y libpng-dev
- sudo apt-get install -y libbrotli-dev
- sudo chmod +x ./ci-build.sh
- ./ci-build.sh
# reboot to windows
- sudo chmod +x ./switch-to-windows.sh
- ./switch-to-windows.sh
# Runs on AMD GPU machine with Windows 11 operating system (dual-booted with Linux Mint)
Windows-AMD-GPU:
tags:
- Windows-AMD-GPU
stage: build
script:
- $env:CHERE_INVOKING = 'yes'
- $env:MSYSTEM = 'MINGW64' # https://www.msys2.org/docs/environments/
- C:\msys64\usr\bin\bash -lc ' '
- C:\msys64\usr\bin\bash -lc 'pacman --noconfirm -Syuu'
- C:\msys64\usr\bin\bash -lc 'pacman --noconfirm -Syuu'
- C:\msys64\usr\bin\bash -lc 'pacman --noconfirm -S git mingw-w64-x86_64-gcc make mingw-w64-x86_64-shaderc mingw-w64-x86_64-libpng'
- C:\msys64\usr\bin\bash -lc './ci-build.sh'
# reboot to linux
- shutdown /r
# Runs on Intel GPU machine with Windows 11 operating system (dual-booted with Linux Mint)
Windows-Intel-GPU:
tags:
- Windows-Intel-GPU
stage: build
script:
- $env:CHERE_INVOKING = 'yes'
- $env:MSYSTEM = 'MINGW64' # https://www.msys2.org/docs/environments/
- C:\msys64\usr\bin\bash -lc ' '
- C:\msys64\usr\bin\bash -lc 'pacman --noconfirm -Syuu'
- C:\msys64\usr\bin\bash -lc 'pacman --noconfirm -Syuu'
- C:\msys64\usr\bin\bash -lc 'pacman --noconfirm -S git mingw-w64-x86_64-gcc make mingw-w64-x86_64-shaderc mingw-w64-x86_64-libpng'
- C:\msys64\usr\bin\bash -lc './ci-build.sh'
# reboot to linux
- shutdown /r