CI: Bump the github-actions group across 1 directory with 4 updates #47
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
| 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 |