-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* update workflow for auto git builds * extra cleanup
- Loading branch information
1 parent
cb8ae23
commit 67d0896
Showing
4 changed files
with
41 additions
and
37 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,52 @@ | ||
|
||
name: CI/Validate | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
|
||
jobs: | ||
validate: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout the source code | ||
uses: actions/checkout@v2 | ||
- 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: Validate Return Types | ||
run: python3 tools/return_checker.py | ||
- name: Check for BOM | ||
uses: arma-actions/bom-check@master | ||
# validate: | ||
# runs-on: ubuntu-latest | ||
# steps: | ||
# - name: Checkout the source code | ||
# uses: actions/checkout@v2 | ||
# - 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: Validate Return Types | ||
# run: python3 tools/return_checker.py | ||
# - name: Check for BOM | ||
# uses: arma-actions/bom-check@master | ||
build: | ||
runs-on: ubuntu-latest | ||
runs-on: windows-2022 | ||
steps: | ||
- name: Checkout the source code | ||
uses: actions/checkout@v2 | ||
uses: actions/checkout@v4.2.0 | ||
with: | ||
fetch-depth: 1 | ||
- name: Build with HEMTT | ||
uses: arma-actions/hemtt@master | ||
- name: Set up A3Tools | ||
uses: arma-actions/arma3-tools@master | ||
with: | ||
toolsUrl: ${{ secrets.A3TOOLS_S3_URL }} | ||
- name: Set up scons | ||
run: python -m pip install scons | ||
- name: Build with Scons | ||
run: scons | ||
- name: Archive Release | ||
uses: thedoctor0/[email protected] | ||
with: | ||
command: build --release --ci | ||
- uses: actions/upload-artifact@v2 | ||
type: 'zip' | ||
path: 'release' | ||
filename: 'hatchet_framework.zip' | ||
- name: Upload Artifact | ||
uses: actions/[email protected] | ||
with: | ||
name: hatchet | ||
path: releases/hatchet.zip | ||
name: hatchet-${{ github.sha }}-nobin | ||
path: hatchet_framework.zip |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,11 @@ | ||
|
||
## Added by HEMTT | ||
|
||
releases/* | ||
*.biprivatekey | ||
keys/* | ||
.hemtt/local.toml | ||
addons/*.pbo | ||
#### | ||
.vscode | ||
.sconsign.dblite | ||
release/* | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.