Skip to content

Commit

Permalink
went back
Browse files Browse the repository at this point in the history
  • Loading branch information
krystalgamer committed Nov 9, 2023
1 parent 322d343 commit d5c8870
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 1 deletion.
38 changes: 38 additions & 0 deletions .github/workflows/c-cpp.yml
Expand Up @@ -28,3 +28,41 @@ jobs:
with:
path: output
name: texture_loader

build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Install deps
run: sudo apt install gcc-mingw-w64-i686 libz-mingw-w64-dev
- name: Build pkr extractor
working-directory: ./pkr_extractor
run: make
- name: Build psx extractor
working-directory: ./psx_extractor
run: make
- name: Build save editor
working-directory: ./save_editor
run: make
- name: Build texture repacker
working-directory: ./texture_repacker
run: make
- name: Arrange files
run: |
mkdir output
cd output
cp ../INSTRUCTIONS.txt .
cp ../THANKS.txt .
mkdir pkr_extractor
cp ../pkr_extractor/pkr.exe pkr_extractor/.
mkdir psx_extractor
cp ../psx_extractor/psx.exe psx_extractor/.
mkdir save_editor
cp ../save_editor/save.exe save_editor/.
mkdir texture_repacker
cp ../texture_repacker/texture.exe texture_repacker/.
- uses: actions/upload-artifact@v3
with:
path: output
2 changes: 1 addition & 1 deletion pkr_extractor/Makefile
@@ -1,5 +1,5 @@
CC=i686-w64-mingw32-gcc
STRIP=strip
STRIP=i686-w64-mingw32-strip
LIBS = -lz
OBJ = pkr.o walk.o extract.o
CFLAGS = -std=c11 -O2 -static
Expand Down

0 comments on commit d5c8870

Please sign in to comment.