Skip to content

Create FUNDING.yml

Create FUNDING.yml #13

Workflow file for this run

name: build
on:
push:
pull_request:
workflow_dispatch:
release:
types: [published]
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Fetch toolchain
run: |
git clone --depth 1 \
https://github.com/Dafang-Hacks/mips-gcc472-glibc216-64bit \
"$HOME/mips-gcc472-glibc216-64bit-master"
- name: Build
run: make build
- name: Upload as artifact
uses: actions/upload-artifact@v4
with:
name: libimp.so
path: dist/libimp.so
- name: Upload to release
if: github.event_name == 'release'
uses: softprops/action-gh-release@v2
with:
files: dist/libimp.so