-
-
Notifications
You must be signed in to change notification settings - Fork 2
43 lines (42 loc) · 1.07 KB
/
msys2.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
name: MSYS2
on:
workflow_dispatch:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
msys2-ucrt64:
runs-on: windows-latest
defaults:
run:
shell: msys2 {0}
steps:
- uses: actions/checkout@v3
- uses: msys2/setup-msys2@v2
with:
msystem: MINGW64
update: true
install: git mingw-w64-x86_64-gcc make mingw-w64-x86_64-shaderc
- name: CI-Build
run: |
echo 'Running in MSYS2!'
./ci-build.sh
ubuntu:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Required Package Installs
run: |
sudo apt-get update
sudo apt-get install -y vulkan-tools
sudo apt-get install -y vulkan-sdk
sudo apt-get install -y build-essential
sudo apt-get install -y libz-dev
sudo apt-get install -y libpng-dev
sudo apt-get install -y libbrotli-dev
- name: CI-Build
run: |
sudo chmod +x ./ci-build.sh
echo "Building..."
./ci-build.sh