Skip to content

Commit 3f095be

Browse files
committed
WADS: Build WAD files from image sources
1 parent 3bd70d1 commit 3f095be

1,307 files changed

Lines changed: 176 additions & 61 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/assemble-and-release.yml

Lines changed: 23 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,28 @@
1-
name: Assemble Assets and Publish Release
1+
name: Asset Assembly
22
on: [push, pull_request]
33
jobs:
4-
Assemble:
4+
Build:
55
runs-on: ubuntu-latest
66
container:
77
image: ubuntu:24.10
88
steps:
99
- name: Install dependencies
1010
run: |
11-
apt update && apt install wget zip unzip python3 -y
11+
apt update && apt install wget zip unzip python3 libicu-dev -y
1212
shell: bash
13-
- uses: actions/checkout@v2
14-
- name: Clone Repository and Run Scripts
13+
- name: Checkout Repository
14+
uses: actions/checkout@v2
15+
- name: Compile WADs
16+
working-directory: ./
17+
run: |
18+
bash tools/compile-wads.sh
19+
- name: Compile BSPs
1520
working-directory: ./
1621
run: |
1722
bash tools/compile-maps.sh --full
23+
- name: Assemble Archives
24+
working-directory: ./
25+
run: |
1826
cd tools/
1927
bash assemble-assets.sh
2028
- name: Upload build artifacts
@@ -23,7 +31,7 @@ jobs:
2331
name: assembled-assets
2432
path: ./tmp/*.zip
2533
Release:
26-
needs: [Assemble]
34+
needs: [Build]
2735
if: github.ref == 'refs/heads/main'
2836
runs-on: ubuntu-latest
2937
container:
@@ -128,6 +136,15 @@ jobs:
128136
asset_path: ./tmp/nspire-nzp-assets.zip
129137
asset_name: nspire-nzp-assets.zip
130138
asset_content_type: application/zip
139+
- name: Upload Texture WAD Archive
140+
uses: actions/upload-release-asset@v1
141+
env:
142+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
143+
with:
144+
upload_url: ${{ steps.create_release.outputs.upload_url }}
145+
asset_path: ./tmp/texture-wads.zip
146+
asset_name: texture-wads.zip
147+
asset_content_type: application/zip
131148
- name: Publish Release
132149
uses: StuYarrow/publish-release@v1
133150
env:

.github/workflows/test-map-compilation.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
image: ubuntu:24.10
99
steps:
1010
- name: Install dependencies
11-
run: apt update && apt install wget zip unzip -y
11+
run: apt update && apt install wget zip unzip libicu-dev -y
1212
shell: bash
1313
- name: Checkout
1414
uses: actions/checkout@v2
@@ -17,4 +17,5 @@ jobs:
1717
shell: bash
1818
- name: Run Script
1919
run: |
20+
bash tools/compile-wads.sh
2021
bash tools/compile-maps.sh

.gitignore

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,8 @@
11
tmp/*
2-
*.DS_Store
2+
*.DS_Store
3+
*.wad
4+
*.bsp
5+
wadmaker.dat
6+
tools/vhlt/*
7+
tools/wadmaker/*
8+
platforms.json

source/maps/Hangar/Hangar.map

Lines changed: 46 additions & 46 deletions
Large diffs are not rendered by default.

source/textures/wad/4all.wad

-804 KB
Binary file not shown.
7.63 KB
36.1 KB
127 KB
24.4 KB
50.1 KB

0 commit comments

Comments
 (0)