Add project-unsignedchar #427
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |