Migrate from Travis-CI to GitHub Actions

This commit is contained in:
Joshua Bell 2021-06-19 17:23:00 -07:00
parent 6e9c18c3aa
commit ae13e28777
3 changed files with 32 additions and 12 deletions

29
.github/workflows/main.yml vendored Normal file
View File

@ -0,0 +1,29 @@
name: build
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: build and install cc65 components
run: |
git clone https://github.com/cc65/cc65 /tmp/cc65
sudo make -C /tmp/cc65 ca65 ld65 avail
ca65 --version
- name: build
env:
TERM: xterm-256color
run: |
make

View File

@ -1,11 +0,0 @@
sudo: enabled
os: linux
language: c
install:
- git clone https://github.com/cc65/cc65 /tmp/cc65 &&
sudo make -C /tmp/cc65 ca65 ld65 avail &&
ca65 --version
script:
- make

View File

@ -1,6 +1,8 @@
# ProDOS Drivers
[![Build Status](https://travis-ci.com/a2stuff/prodos-drivers.svg?branch=master)](https://travis-ci.com/a2stuff/prodos-drivers)
[![build](https://github.com/a2stuff/prodos-drivers/actions/workflows/main.yml/badge.svg)](https://github.com/a2stuff/prodos-drivers/actions/workflows/main.yml)
Build with [ca65](https://cc65.github.io/doc/ca65.html)
# What are ProDOS "drivers"?