From c0a6143f1237d5dbcccbcf20adda251fcdd470ed Mon Sep 17 00:00:00 2001 From: Jeff Armstrong Date: Thu, 9 Apr 2020 17:56:41 -0400 Subject: Update and rename main.yml to ci.yml --- .github/workflows/ci.yml | 31 +++++++++++++++++++++++++++++++ .github/workflows/main.yml | 41 ----------------------------------------- 2 files changed, 31 insertions(+), 41 deletions(-) create mode 100644 .github/workflows/ci.yml delete mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..fdb1ff2 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,31 @@ +# This is a basic workflow to help you get started with Actions + +name: CI + +# Controls when the action will run. Triggers the workflow on push or pull request +# events but only for the master branch +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +# A workflow run is made up of one or more jobs that can run sequentially or in parallel +jobs: + # This workflow contains a single job called "build" + build: + # The type of runner that the job will run on + runs-on: ubuntu-18.04 + + # Steps represent a sequence of tasks that will be executed as part of the job + steps: + - name: Install PPA + run: sudo add-apt-repository ppa:vriviere/ppa + + - name: Install MiNT Cross-tools + run: sudo apt-get install binutils-m68k-atari-mint gcc-m68k-atari-mint mintbin-m68k-atari-mint mintlib-m68k-atari-mint gemlib-m68k-atari-mint make zip + + - uses: actions/checkout@v2 + + - name: Build Worm + run: make -f makefile.gnu CC=m68k-atari-mint-gcc clean all diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml deleted file mode 100644 index c01b4de..0000000 --- a/.github/workflows/main.yml +++ /dev/null @@ -1,41 +0,0 @@ -# This is a basic workflow to help you get started with Actions - -name: CI - -# Controls when the action will run. Triggers the workflow on push or pull request -# events but only for the master branch -on: - push: - branches: [ master ] - pull_request: - branches: [ master ] - -# A workflow run is made up of one or more jobs that can run sequentially or in parallel -jobs: - # This workflow contains a single job called "build" - build: - # The type of runner that the job will run on - runs-on: ubuntu-18.04 - - # Steps represent a sequence of tasks that will be executed as part of the job - steps: - - name: Install PPA - run: sudo add-apt-repository ppa:vriviere/ppa - - - name: Install MiNT Cross-tools - run: sudo apt-get install binutils-m68k-atari-mint gcc-m68k-atari-mint mintbin-m68k-atari-mint mintlib-m68k-atari-mint gemlib-m68k-atari-mint make zip - - - uses: actions/checkout@v2 - - - name: Build Worm - run: make -f makefile.gnu CC=m68k-atari-mint-gcc clean all - - - name: Build Worm Zip - run: zip -9 worm.zip worm.app wormst.rsc license.txt readme.txt - - - name: Upload Worm Zip - uses: actions/upload-artifact@v1 - with: - name: Worm - path: worm.zip - -- cgit v1.1