Migrate from Travis-CI to GitHub Actions

This commit is contained in:
Joshua Bell 2021-06-19 17:23:09 -07:00
parent 7b62c1a6ae
commit 090820dc0d
3 changed files with 31 additions and 13 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,6 @@
# chtype - change file type command for ProDOS
# chtype - change file type command for ProDOS
[![Build Status](https://travis-ci.com/a2stuff/chtype.svg?branch=main)](https://travis-ci.com/a2stuff/chtype)
[![build](https://github.com/a2stuff/chtype/actions/workflows/main.yml/badge.svg)](https://github.com/a2stuff/chtype/actions/workflows/main.yml)
Build with [ca65](https://cc65.github.io/doc/ca65.html)