mirror of
https://github.com/open-goal/jak-project
synced 2026-08-10 11:14:50 -04:00
Add extractor tool (#1276)
* first attempt * fix * zip to tar * windows * try again, std::filesystem sucks * std::filesystem is still garbage * std::filesystem is terrible * std::filesystem continues to waste my time * again * neadsflaldksal;df
This commit is contained in:
@@ -41,7 +41,7 @@ jobs:
|
||||
run: git submodule update --init --recursive -j 2
|
||||
|
||||
- name: Get Common Package Dependencies
|
||||
run: sudo apt install build-essential cmake clang gcc g++ lcov make nasm libxrandr-dev libxinerama-dev libxcursor-dev libxi-dev
|
||||
run: sudo apt install build-essential cmake clang gcc g++ lcov make nasm libxrandr-dev libxinerama-dev libxcursor-dev libxi-dev zip
|
||||
|
||||
- name: Get Clang
|
||||
if: matrix.compiler == 'clang'
|
||||
@@ -100,22 +100,16 @@ jobs:
|
||||
- name: Prepare Build Artifacts
|
||||
if: github.repository == 'open-goal/jak-project' && startsWith(github.ref, 'refs/tags/') && matrix.compiler == 'clang'
|
||||
run: |
|
||||
mkdir -p ./ci-artifacts/
|
||||
cp ./build/decompiler/decompiler ./ci-artifacts/linux-decompiler.bin
|
||||
cp ./build/game/gk ./ci-artifacts/linux-gk.bin
|
||||
cp ./build/goalc/goalc ./ci-artifacts/linux-goalc.bin
|
||||
chmod +x ./ci-artifacts/*.bin
|
||||
strip --strip-debug ./ci-artifacts/linux-decompiler.bin
|
||||
strip --strip-debug ./ci-artifacts/linux-gk.bin
|
||||
strip --strip-debug ./ci-artifacts/linux-goalc.bin
|
||||
ls -l ./ci-artifacts/
|
||||
mkdir -p ./ci-artifacts/out
|
||||
./scripts/shell/extract_build.sh ./ci-artifacts/out ./
|
||||
tar czf ./ci-artifacts/opengoal.tar.gz ./ci-artifacts/out
|
||||
|
||||
- name: Upload Assets and Potential Publish Release
|
||||
if: github.repository == 'open-goal/jak-project' && startsWith(github.ref, 'refs/tags/') && matrix.compiler == 'clang'
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.BOT_PAT }}
|
||||
ASSET_DIR: ${{ github.WORKSPACE }}/ci-artifacts
|
||||
ASSET_EXTENSION: bin
|
||||
ASSET_EXTENSION: zip
|
||||
TAG_TO_SEARCH_FOR: ${{ github.REF }}
|
||||
run: |
|
||||
cd ./.github/scripts/releases/upload-release-artifacts
|
||||
|
||||
Reference in New Issue
Block a user