Skip to content

CI: Bump the github-actions group across 1 directory with 4 updates #47

CI: Bump the github-actions group across 1 directory with 4 updates

CI: Bump the github-actions group across 1 directory with 4 updates #47

Workflow file for this run

name: Build
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
workflow_dispatch:
jobs:
build:
name: ${{ matrix.platform.name }} - ${{ matrix.build-type }}
runs-on: ubuntu-latest
environment: ftp
strategy:
matrix:
platform:
- name: AmigaOS4
short: ppc-amigaos
image: rolfkopman/os4env
mount: /opt/code
- name: AROS i386 ABI V0
short: i386-aros
image: rolfkopman/arosi386v0env
mount: /opt/code
- name: AROS x86_64 ABI V1
short: x86_64-aros
image: rolfkopman/arosx64v1env
mount: /opt/code
- name: MorphOS
short: ppc-morphos
image: rolfkopman/mosenv
mount: /gg/code
build-type: [tiny, small, normal, huge, mui]
steps:
- name: Checkout code
uses: actions/checkout@v7
- name: Compile non-MUI build
if: matrix.build-type != 'mui'
run: |
docker run --rm \
-v ${{ github.workspace }}/src:${{ matrix.platform.mount }} \
-w ${{ matrix.platform.mount }} \
-e BUILD=${{ matrix.build-type }} \
${{ matrix.platform.image }} make -f Make_ami.mak
- name: Compile InstallerLG
if: matrix.build-type == 'mui'
run: |
git clone --depth=1 https://github.com/sodero/InstallerLG.git
docker run --rm \
-v ${{ github.workspace }}:${{ matrix.platform.mount }} \
-w ${{ matrix.platform.mount }} \
${{ matrix.platform.image }} make -C InstallerLG/build
cp InstallerLG/build/Installer dist/extras/${{ matrix.platform.os }}
find dist
- name: Compile MUI build and create archive
if: matrix.build-type == 'mui'
run: |
docker run --rm \
-v ${{ github.workspace }}:${{ matrix.platform.mount }} \
-w ${{ matrix.platform.mount }} \
-e BUILD=${{ matrix.build-type }} \
${{ matrix.platform.image }} make dist
- name: Save artifact
if: matrix.build-type == 'mui'
uses: actions/upload-artifact@v7
with:
name: MUI-Vim-${{ github.sha }}-${{ matrix.platform.short }}
path: |
dist/tmp/*
retention-days: 30
overwrite: true