Skip to content

gcc4 build of morpheus for deployment on Alpheios #13

gcc4 build of morpheus for deployment on Alpheios

gcc4 build of morpheus for deployment on Alpheios #13

Workflow file for this run

name: Build Morpheus
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Update packages
run: sudo apt-get update -qq
- name: Install dependencies
run: sudo apt-get install -qq -y build-essential flex-old
- name: Make
run: bash -c "cd src/ && CFLAGS='-std=gnu89 -fcommon' make && make install"
- name: strip
run: bash -c "strip bin/morpheus && cp bin/morpheus dist/bin/platform/Linux_x86-gcc4"
- name: Make the stemlib
run: bash -c "./build_stemlib.sh"
- name: commit
uses: EndBug/add-and-commit@v4
with:
message: "auto build linux and stemlib"
add: dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}