Update build.yml

This commit is contained in:
Andrey K 2020-06-08 20:50:23 +03:00 committed by GitHub
parent ff2d3dac0b
commit 3dcb4e5236
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -17,13 +17,18 @@ jobs:
uses: textbook/git-checkout-submodule-action@master
with:
remote: true
- name: setup enviroment
- 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
- name: make
sudo dkp-pacman --noconfirm -S devkitA64 switch-tools libnx 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
- name: Build libcurl 7.69.1
run: |
wget https://github.com/devkitPro/pacman-packages/raw/1582ad85914b14497fae32a9fe9074c0374f99f7/switch/curl/PKGBUILD
dkp-makepkg
sudo cp pkg/switch-curl/opt/devkitpro/portlibs/switch /opt/devkitpro/portlibs/switch
- name: Build
run: |
export DEVKITPRO=/opt/devkitpro
export DEVKITA64=/opt/devkitpro/devkitA64