-
Notifications
You must be signed in to change notification settings - Fork 4
58 lines (47 loc) · 1.6 KB
/
premake5-ubuntu-codelite.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
name: premake5-ubuntu-codelite
on:
workflow_dispatch:
push:
paths:
- 'projects/project-*/**'
- 'codelite/**'
- '.github/workflows/premake5-ubuntu-codelite.yml'
- '.github/actions/install-premake5/action.yml'
- '!**/*.md'
- '!projects/**/unsupported_by_*'
- '!**/premake4.lua'
- 'projects/**/unsupported_by_codelite'
- 'projects/**/unsupported_by_premake5_codelite'
pull_request:
paths:
- 'projects/project-*/**'
- 'codelite/**'
- '.github/workflows/premake5-ubuntu-codelite.yml'
- '.github/actions/install-premake5/action.yml'
- '!**/*.md'
- '!projects/**/unsupported_by_*'
- '!**/premake4.lua'
- 'projects/**/unsupported_by_codelite'
- 'projects/**/unsupported_by_premake5_codelite'
jobs:
linux:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: install premake5
uses: ./.github/actions/install-premake5
with:
repository: premake/premake-core
- name: apt-get update
run: sudo apt-get update -y
- name: sudo apt-get install -y codelite
run: sudo apt-get install -y codelite
- name: codelite --version
run: xvfb-run -a codelite --version || exit 0 # codelite --version returns -1
- name: test projects default(clang)
run: python3 ./test_projects.py premake5 projects codelite
- name: test projects gcc
run: python3 ./test_projects.py premake5 projects codelite --cc=gcc
- name: test projects clang
run: python3 ./test_projects.py premake5 projects codelite --cc=clang