-
-
Notifications
You must be signed in to change notification settings - Fork 16
37 lines (28 loc) · 903 Bytes
/
ci.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
name: C/C++ CI
on: [push, pull_request]
env:
BUILD_TYPE: Release
jobs:
build:
runs-on: ubuntu-latest
container: devkitpro/devkitarm:latest
steps:
- uses: actions/[email protected]
- name: Install g++
run: sudo apt-get update -y && sudo apt-get install g++ -y
- name: Install stripios
run : |
wget https://raw.githubusercontent.com/Leseratte10/d2xl-cios/master/stripios/main.cpp
g++ main.cpp -o stripios
mv stripios ${DEVKITPRO}/tools/bin
rm -f main.cpp
- name: Configure CMake
run: ${DEVKITARM}/bin/arm-none-eabi-cmake -B build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
- name: Build
run: cmake --build build --config ${{env.BUILD_TYPE}}
- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
name: FAKEMOTE
if-no-files-found: error
path: build/FAKEMOTE.app