-
Notifications
You must be signed in to change notification settings - Fork 4
37 lines (29 loc) · 914 Bytes
/
build.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: Libdragon C CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Checkout submodules
run: git submodule update --init --recursive
- name: Install dependencies
run: |
export N64_INST=/opt/libdragon
echo "N64_INST=/opt/libdragon" >> "$GITHUB_ENV"
echo "N64_INST=/opt/libdragon" > .env
sudo apt-get update
sudo apt install build-essential libpng-dev
curl -sLO https://github.com/DragonMinded/libdragon/releases/download/toolchain-continuous-prerelease/gcc-toolchain-mips64-x86_64.deb && sudo dpkg -i gcc-toolchain-mips64-x86_64.deb
cd libdragon
./build.sh
echo $N64_INST
- name: make assets
run: make assets
- name: make
run: make