diff options
author | luckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com> | 2022-01-20 10:49:01 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-20 10:49:01 -0500 |
commit | 91078c3e4f446b747d5f931f0c4eb34463077ae9 (patch) | |
tree | 2eb3520155a37da05d07dddc172f922d1c0a04b7 | |
parent | e09cbdf93d44b42e2990d838662cf5dd6579d4d5 (diff) | |
parent | b7a8c1c8a0e6d6b929e3a08c547cd6cb54e8c58e (diff) |
Merge pull request #44 from PikalaxALT/patch-3
Migrate from Travis to GitHub workflows
-rw-r--r-- | .github/workflows/build.yml | 17 | ||||
-rw-r--r-- | .travis.yml | 26 |
2 files changed, 17 insertions, 26 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..a7aecdf --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,17 @@ +name: CI + +on: + push: + branches: [ master ] + pull_request: + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@master + - name: Install deps + run: sudo apt install gcc-arm-none-eabi binutils-arm-none-eabi + - name: Compile + run: sh build.sh diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 7118749..0000000 --- a/.travis.yml +++ /dev/null @@ -1,26 +0,0 @@ -language: generic -dist: bionic -sudo: false -env: - global: - - DEVKITPRO=$HOME - - DEVKITARM=$DEVKITPRO/devkitARM -addons: - apt: - packages: - - gcc-multilib - - linux-libc-dev - - zlib-dev -cache: - apt: true -install: - - pushd $HOME - - travis_retry wget https://github.com/devkitPro/buildscripts/releases/download/devkitARM_r50/devkitARM_r50-linux.tar.xz - - tar xJf devkitARM*.tar.xz - - popd -matrix: - include: - - os: linux - env: _="Build" - script: - - sh build.sh |