Added libmappedmemory to Dockerfile. #18
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 Binary | |
on: [push, pull_request, workflow_dispatch] | |
jobs: | |
build-plugin: | |
runs-on: ubuntu-latest | |
name: Build plugin | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 1 | |
submodules: true | |
- name: Setup Docker | |
run: docker build --tag plugin-builder . | |
- name: Build | |
uses: addnab/docker-run-action@v3 | |
with: | |
image: plugin-builder | |
options: --name plugin-builder-container | |
run: | | |
./bootstrap | |
./configure --host=powerpc-eabi CXXFLAGS="-O2 -ffunction-sections -fipa-pta" | |
make | |
- name: Copy from container to host | |
uses: tj-actions/docker-cp@v2 | |
with: | |
container: plugin-builder-container | |
source: /project/src/papaya-hud.wps | |
destination: papaya-hud.wps | |
- name: Upload | |
uses: actions/upload-artifact@v4 | |
with: | |
name: papaya-hud.wps | |
path: "*.wps" | |
if-no-files-found: error |