Skip to content

Update GitHub actions to use Node 16 #7

Update GitHub actions to use Node 16

Update GitHub actions to use Node 16 #7

Workflow file for this run

name: Linux build
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-20.04
strategy:
matrix:
cpu_target: [ "000", "02060", "030", "040", "060", "col" ]
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: Install packages
run: |
SYSROOT_DIR="/" ./.scripts/install-freemint.sh binutils gcc mintbin
./.scripts/install-freemint.sh mintlib fdlibm gemlib
- name: Setup environment
env:
PROJECT_VERSION: "0.40.0"
CPU_TARGET: ${{ matrix.cpu_target }}
run: ./.scripts/setup_env.sh
- 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