updates for HEMTT 1.13.0 #220
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: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
validate: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout the source code | |
uses: actions/checkout@v3 | |
- name: Validate SQF | |
run: python3 tools/sqf_validator.py | |
- name: Check for BOM | |
uses: arma-actions/bom-check@master | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout the source code | |
uses: actions/checkout@v3 | |
- name: Validate Diag | |
run: python3 tools/diag_checker.py | |
- name: Lint (sqflint) | |
uses: jokoho48/sqflint@master | |
continue-on-error: true # No failure due to many false-positives | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 1 | |
submodules: 'true' | |
- name: Setup HEMTT | |
uses: arma-actions/hemtt@v1 | |
- name: Run HEMTT build | |
run: hemtt release | |
- uses: actions/upload-artifact@master | |
with: | |
name: '@Streamator' | |
path: '.hemttout/release/*' |