Use python3 #3
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
name: Build | |
on: | |
push: | |
pull_request: | |
jobs: | |
build: | |
container: ghcr.io/squareman/xenosaga-build:main | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
steps: | |
# Checkout the repository (shallow clone) | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
submodules: recursive | |
# Set Git config | |
- name: Git config | |
run: git config --global --add safe.directory "$GITHUB_WORKSPACE" | |
# Copy the original files to the workspace | |
- name: Prepare | |
run: cp -R /orig/* ./iso | |
# Install python requirements | |
- name: Python dependencies | |
run: pip install -r requirements.txt | |
# Build the project | |
- name: Build | |
run: | | |
python3 configure.py | |
ninja |