This repository has been archived on 2022-06-22. You can view files and clone it, but cannot push or open issues or pull requests.
Isotope-Cleaner/.github/workflows/ci.yml
2020-06-15 21:58:31 -05:00

50 lines
1.2 KiB
YAML

name: CI
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Update and Install Build Dependencies
run: |
sudo apt-get update
sudo apt-get install -y apt-utils
sudo apt-get install -y --no-install-recommends sudo ca-certificates pkg-config curl wget bzip2 xz-utils make git bsdtar doxygen gnupg unzip
sudo apt-get clean
- name: Install devkitPro
run: |
wget https://github.com/devkitPro/pacman/releases/download/devkitpro-pacman-1.0.1/devkitpro-pacman.deb
sudo dpkg -i devkitpro-pacman.deb
rm devkitpro-pacman.deb
sudo dkp-pacman -Scc --noconfirm
- name: Install Switch Toolchain
run: |
sudo dkp-pacman -Syyu --noconfirm switch-dev
sudo dkp-pacman -Scc --noconfirm
- name: Checkout Repo
uses: actions/checkout@v2
- name: Build
env:
DEVKITPRO: /opt/devkitpro
run: make
- name: Extract Zip File
run: |
unzip Isotope-Cleaner.zip -d out
- name: Artifact Results
uses: actions/upload-artifact@v1
with:
name: Isotope-Cleaner
path: out