CI #158
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: CI | |
on: | |
pull_request: | |
push: | |
branches: | |
- master | |
paths: | |
- './**.c' | |
- './**.h' | |
- './**.hpp' | |
- './**.cpp' | |
workflow_dispatch: | |
branches: | |
- feature | |
jobs: | |
msbuild-windows-build: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Add MSBuild to PATH | |
uses: microsoft/setup-msbuild@v1.0.2 | |
- name: Run Premake Install | |
run: ./InstallTools.bat | |
- name: Run Premake | |
run: ./VS_2019.bat | |
- name: Build 64 bit | |
run: ./premake.bat build | |
- name: Build 32 bit | |
run: ./premake.bat build_32bit | |
- name: RunTests for 64 bit | |
run: ./premake.bat test | |
- name: RunTests for 32 bit | |
run: ./premake.bat test_32bit | |
gmake-linux-build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Make a scripts executable | |
run: | | |
chmod +x ./InstallTools.sh | |
chmod +x ./GNU_Make.sh | |
- name: Run Premake Install | |
run: ./InstallTools.sh | |
- name: Run Premake | |
run: ./GNU_Make.sh | |
- name: Build 64 bit | |
run: ./premake.sh build | |
- name: RunTests for 64 bit | |
run: ./premake.sh test | |
clang-macos-build: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Make a scripts executable | |
run: | | |
chmod +x ./InstallTools.sh | |
chmod +x ./GNU_Make.sh | |
- name: Run Premake Install | |
run: ./InstallTools.sh | |
- name: Run Premake | |
run: ./GNU_Make.sh | |
- name: Build | |
run: ./premake.sh build | |
- name: RunTests | |
run: ./premake.sh test | |
gmake-wasm-build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Make a scripts executable | |
run: | | |
chmod +x ./GNU_Make.sh | |
- name: Run Premake Install | |
uses: mymindstorm/setup-emsdk@v13 | |
- name: Run Premake | |
run: ./GNU_Make.sh | |
- name: Build Wasm | |
run: ./premake.sh web_build | |
clang-android-build: | |
if: 'false' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Make a scripts executable | |
run: | | |
chmod +x ./GNU_Make.sh | |
- name: Run Premake Install | |
run: ./premake.sh installandroidsdk | |
- name: Run Premake | |
run: ./GNU_Make.sh | |
- name: Build (Arm64) | |
run: ./premake.sh web_build | |
clang-ios-build: | |
if: 'false' | |
runs-on: "macos-latest" | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Make a scripts executable | |
run: | | |
chmod +x ./GNU_Make.sh | |
- name: Run Premake Install | |
run: ./premake.sh install | |
- name: Run Premake | |
run: ./GNU_Make.sh | |
- name: Build | |
run: ./premake.sh ios_build |