From 7587db2f480dc4bc7a7b56406358c1256cf33a9b Mon Sep 17 00:00:00 2001 From: Joshua Bell Date: Sat, 19 Jun 2021 17:22:51 -0700 Subject: [PATCH] Migrate from Travis-CI to GitHub Actions --- .github/workflows/main.yml | 29 +++++++++++++++++++++++++++++ .travis.yml | 11 ----------- README.md | 2 +- 3 files changed, 30 insertions(+), 12 deletions(-) create mode 100644 .github/workflows/main.yml delete mode 100644 .travis.yml 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 30a4a9d..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 beb0c8b..c7ff3b3 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # CMD executable PATH for ProDOS's BASIC.SYSTEM -[![Build Status](https://travis-ci.com/a2stuff/prodos-path.svg?branch=master)](https://travis-ci.com/a2stuff/prodos-path) +[![build](https://github.com/a2stuff/prodos-path/actions/workflows/main.yml/badge.svg)](https://github.com/a2stuff/prodos-path/actions/workflows/main.yml) 💾 Disk images can be found on the [Releases](https://github.com/a2stuff/prodos-path/releases) page 💾