diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..75edf78 --- /dev/null +++ b/.github/workflows/main.yml @@ -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 diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 626f887..0000000 --- a/.travis.yml +++ /dev/null @@ -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 diff --git a/README.md b/README.md index 24f60eb..ae9a525 100644 --- a/README.md +++ b/README.md @@ -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)