1
0
mirror of https://github.com/PDP-10/its.git synced 2026-01-27 12:42:10 +00:00
Files
PDP-10.its/.github/workflows/build.yml
Lars Brinkhoff db199cb313 Deploy images to kostersitz.com.
To manage deploy secrets in GitHub, go to the repository page, click
Settings, then Environments, then Deploy, then scroll down to
Environment secrets.
2023-03-06 06:37:39 +01:00

34 lines
832 B
YAML

name: Build
on: [push, pull_request]
defaults:
run:
shell: bash
jobs:
build:
environment: Deploy
runs-on: ${{matrix.os}}
strategy:
fail-fast: false
matrix:
os: [ubuntu-18.04]
emulator: [simh, klh10, pdp10-ka, pdp10-kl, pdp10-ks]
steps:
- uses: actions/checkout@v2
- name: Install dependencies
env:
EMULATOR: ${{matrix.emulator}}
if: ${{runner.os == 'Linux'}}
run: sh -ex build/dependencies.sh install_linux
- name: Build
run: make check-dirs all EMULATOR=${{matrix.emulator}}
- name: Deploy
if: github.ref == 'refs/heads/master'
env:
SECRET: ${{secrets.SECRET}}
FTP_SECRET: ${{secrets.FTP_SECRET}}
EMULATOR: ${{matrix.emulator}}
run: sh build/deploy-ftp.sh