Skip to content

Preparations for mintelf toolchains #19

Preparations for mintelf toolchains

Preparations for mintelf toolchains #19

Workflow file for this run

pname: Linux build

Check failure on line 1 in .github/workflows/build.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build.yml

Invalid workflow file

The workflow is not valid. .github/workflows/build.yml (Line: 1, Col: 1): Unexpected value 'pname'
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-20.04
strategy:
matrix:
cross_tool: [ "m68k-atari-mint", "m68k-atari-mintelf" ]
steps:
- uses: actions/checkout@v3
- name: Install SSH keys
if: ${{ github.event_name == 'push' }}
env:
SSH_ID: ${{ secrets.SSH_ID }}
run: ./.scripts/install_ssh_id.sh
- name: Setup environment
env:
PROJECT_VERSION: "0.4"
CROSS_TOOL: ${{ matrix.cross_tool }}
run: ./.scripts/setup_env.sh
- name: Install packages
run: |
SYSROOT_DIR="/" ./.scripts/install-freemint.sh binutils gcc
./.scripts/install-freemint.sh mintlib
- name: build
run: ./.scripts/build.sh
- name: deploy
if: ${{ github.event_name == 'push' }}
env:
COMMITER_NAME: ${{ github.event.commits[0].author.name }}
COMMITER_EMAIL: ${{ github.event.commits[0].author.email }}
run: ./.scripts/deploy.sh