Event 2024 Anpassungen 2 #473
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: Arma | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
validate: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout the source code | |
uses: actions/checkout@master | |
- name: Validate SQF | |
run: python3 tools/sqf_validator.py | |
- name: Validate Config | |
run: python3 tools/config_style_checker.py | |
- name: Validate Stringtables | |
run: python3 tools/stringtable_validator.py | |
- name: Check Strings | |
run: python3 tools/check_strings.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@master | |
- name: Lint (sqflint) | |
uses: arma-actions/sqflint@master | |
continue-on-error: true # No failure due to many false-positives | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout the source code | |
uses: actions/checkout@master | |
- name: Checkout submodules | |
run: git submodule update --init --recursive | |
- name: Build using HEMTT | |
uses: arma-actions/hemtt@master | |
with: | |
command: build --release --ci | |
- name: Upload Artifact | |
uses: actions/upload-artifact@v2-preview | |
with: | |
name: opt-servermod-${{ github.sha }}-nobin | |
path: releases/opt-servermod_*.zip |