-
Notifications
You must be signed in to change notification settings - Fork 0
53 lines (52 loc) · 1.43 KB
/
ti84-ref_app.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
41
42
43
44
45
46
47
48
49
50
51
52
53
##############################################################################
# Copyright Christopher Kormanyos 2023 - 2024.
# Distributed under The Unlicense.
name: ti84-ref_app
on:
push:
branches:
- '**'
pull_request:
jobs:
sdcc-build-native:
runs-on: ubuntu-latest
defaults:
run:
shell: bash
steps:
- uses: actions/checkout@v4
with:
fetch-depth: '0'
- name: get-sdcc-toolchain
run: |
mkdir ../sdcc-root
cd ../sdcc-root
wget --no-check-certificate https://sourceforge.net/projects/sdcc/files/sdcc-linux-amd64/4.4.0/sdcc-4.4.0-amd64-unknown-linux2.5.tar.bz2
tar -xjf sdcc-4.4.0-amd64-unknown-linux2.5.tar.bz2
- name: build-and-verify-refapp
run: |
cd build
PATH=../../sdcc-root/sdcc-4.4.0/bin:"$PATH"
sdcc -v
make all
echo 'build-and-verify-refapp partial verify result'
ls -la ../bin/refapp.8xp
sdcc-build-native-macos:
runs-on: macos-latest
defaults:
run:
shell: bash
steps:
- uses: actions/checkout@v4
with:
fetch-depth: '0'
- name: get-sdcc-toolchain
run: |
brew install sdcc
- name: build-and-verify-refapp
run: |
cd build
sdcc -v
make all
echo 'build-and-verify-refapp partial verify result'
ls -la ../bin/refapp.8xp