forked from proconsule/nxmp
-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (32 loc) · 841 Bytes
/
c-cpp.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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 update
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)
- name: make clean
run: |
make clean
- name: final
run: |
make
- uses: actions/upload-artifact@master
with:
name: nxmp
path: build