-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1,188 changed files
with
42,017 additions
and
1,916 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 |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: FGD Build | ||
on: | ||
push: | ||
branches: [ master, dev ] | ||
paths: | ||
- 'fgd/**' | ||
pull_request: | ||
branches: [ master, dev ] | ||
paths: | ||
- 'fgd/**' | ||
workflow_dispatch: | ||
# Allow triggering manually whenever it's useful. | ||
jobs: | ||
build-fgds: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
- name: Setup Python | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: '3.11' | ||
cache: 'pip' | ||
cache-dependency-path: 'requirements.txt' | ||
- name: Install srctools | ||
run: python -m pip install -r requirements.txt | ||
- name: FGD build and folder copy | ||
run: bash ./build.sh all | ||
- name: Artifact upload | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: build-${{ github.sha }} | ||
path: ./build/*.fgd | ||
if-no-files-found: error |
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 |
---|---|---|
@@ -0,0 +1,50 @@ | ||
name: Build Postcompiler | ||
on: | ||
schedule: | ||
- cron: '14 9 * * TUE' # Run at 9:14 (7:14pm local) on Tuesday | ||
create: | ||
ref_type: 'tag' | ||
workflow_dispatch: | ||
# Allow triggering manually whenever it's useful. | ||
|
||
jobs: | ||
build-windows: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
include: | ||
# We want 3.8 because it works on Windows 7. | ||
- artifact-name: 'win32' | ||
python-version: '3.8.10' | ||
arch: 'x86' | ||
os: 'windows-latest' | ||
- artifact-name: 'win64' | ||
python-version: '3.11' | ||
arch: 'x64' | ||
os: 'windows-latest' | ||
- artifact-name: 'linux64' | ||
python-version: '3.11' | ||
arch: 'x64' | ||
os: 'ubuntu-latest' | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
- name: Set up Python ${{ matrix.python-version }}-${{ matrix.arch }} | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
architecture: ${{ matrix.arch }} | ||
cache: 'pip' | ||
cache-dependency-path: 'requirements.txt' | ||
- name: Install srctools | ||
run: python -m pip install -r requirements.txt | ||
- name: Freeze application | ||
run: python -m PyInstaller --distpath ..\build\ -y ..\postcompiler.spec | ||
working-directory: ./src/ | ||
- name: Artifact upload | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: hammeraddons_${{ github.sha }}_${{ artifact-name }} | ||
path: ./build/ | ||
if-no-files-found: error |
This file was deleted.
Oops, something went wrong.
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
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
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
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
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
Oops, something went wrong.