Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions .github/workflows/build-objects.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Build with objdiff objects for pull requests

on:
pull_request_target:
types: [opened, synchronize, reopened]

jobs:
build-objects:
if: github.repository_owner == 'theonlyzac'
runs-on: ubuntu-latest

steps:
- name: Checkout Repository
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}

- name: Setup build environment
run: scripts/quickstart.sh

- name: Activate virtualenv
run: echo "${{ github.workspace }}/env/bin" >> $GITHUB_PATH

- name: Fetch game executable
run: curl -o disc/SCUS_971.98 "${{ secrets.FILE_URL }}"

- name: Configure and build
run: |
python configure.py --objects
ninja
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Build project and validate checksum
on:
push:
branches:
- "*"
- main
pull_request_target:
types: [opened, synchronize, reopened]

Expand Down
Loading