Remove usage of pull_request_target and GHA secrets from CI
#201
Workflow file for this run
This file contains hidden or 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
| # CI file for IDO builds | |
| name: Build IDO libultra | |
| # Build on every branch push, tag push, and pull request change: | |
| on: | |
| push: | |
| pull_request: | |
| jobs: | |
| build_repo: | |
| # This is a *private* build container. | |
| container: ghcr.io/decompals/ultralib-build:main | |
| name: Build repo | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| version: [I, J, K, L] # [E, F, G, H, I, I_patch, J, K, L] | |
| suffix: [~, _rom] # [~, _d, _rom] | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v6 | |
| - name: Install package requirements | |
| run: apt-get install -y build-essential python3 binutils-mips-linux-gnu | |
| - name: Get the dependency | |
| run: cp /orig/${{ matrix.version }}/* base/${{ matrix.version }} | |
| - name: Setup | |
| run: make setup -j $(nproc) TARGET=libultra${{ matrix.suffix }} VERSION=${{ matrix.version }} | |
| - name: Build libultra${{ matrix.suffix }} ${{ matrix.version }} | |
| run: make -j $(nproc) TARGET=libultra${{ matrix.suffix }} VERSION=${{ matrix.version }} |