Skip to content

Update c-cpp.yml

Update c-cpp.yml #18

Workflow file for this run

name: Makefile CI
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
container: devkitpro/devkita64:latest
steps:
- uses: actions/checkout@v3
- name: dependencies
run: |
apt install gcc -y
export CC=gcc
dkp-pacman -S switch-dev --noconfirm
git config --global --add safe.directory /__w/nxmp/nxmp
git submodule update --init --recursive
git clone --recursive https://github.com/sahlberg/libnfs.git libs/libnfs
(cd libs/libnfs/ && cmake . && make && make install); cd ../../
ls include/
- name: make clean
run: |
make clean
- name: final
run: |
make
- uses: actions/upload-artifact@master
with:
name: nxmp
path: build