Update Scons Setups #56
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: Build | |
on: [push] | |
jobs: | |
# validate: | |
# runs-on: ubuntu-latest | |
# steps: | |
# - name: Checkout the source code | |
# uses: actions/checkout@v4 | |
# - name: Validate SQF | |
# run: python3 tools/sqf_validator.py | |
# build: | |
# runs-on: ubuntu-latest | |
# steps: | |
# - name: Checkout the source code | |
# uses: actions/checkout@v4 | |
# - name: Setup HEMTT | |
# uses: arma-actions/hemtt@v1 | |
# - name: Run HEMTT build | |
# run: hemtt build | |
# - name: Rename build folder | |
# run: mv .hemttout/build .hemttout/@BCE | |
build: | |
runs-on: windows-2022 | |
steps: | |
- name: Checkout the source code | |
uses: actions/[email protected] | |
with: | |
fetch-depth: 1 | |
- name: Set up A3Tools | |
uses: arma-actions/arma3-tools@master | |
with: | |
toolsUrl: ${{ secrets.A3TOOLS_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: | |
type: 'zip' | |
path: 'release' | |
filename: 'artifact-BCE.zip' | |
- name: Upload Artifact | |
uses: actions/[email protected] | |
with: | |
name: BCE-${{ github.sha }}-nobin | |
path: artifact-BCE.zip |