mirror of
https://github.com/rock88/moonlight-nx
synced 2024-11-10 14:24:30 +00:00
Create build.yml
This commit is contained in:
parent
96017c01dc
commit
8d6f631e60
1 changed files with 25 additions and 0 deletions
25
.github/workflows/build.yml
vendored
Normal file
25
.github/workflows/build.yml
vendored
Normal file
|
@ -0,0 +1,25 @@
|
|||
name: C/C++ CI
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: setup enviroment
|
||||
run: |
|
||||
wget https://github.com/devkitPro/pacman/releases/download/devkitpro-pacman-1.0.1/devkitpro-pacman.deb
|
||||
sudo dpkg -i devkitpro-pacman.deb
|
||||
sudo dkp-pacman --noconfirm -Syu
|
||||
sudo dkp-pacman --noconfirm -S devkitA64 switch-tools libnx switch-curl switch-ffmpeg switch-glad switch-glfw switch-jansson switch-libdrm_nouveau switch-libexpat switch-libopus switch-libvpx switch-mbedtls switch-mesa switch-zlib switch-ffmpeg
|
||||
export DEVKITPRO=/opt/devkitpro
|
||||
export DEVKITA64=/opt/devkitpro/devkitA64
|
||||
- name: make
|
||||
run: make -j
|
Loading…
Reference in a new issue