Skip to content

Commit

Permalink
Merge pull request #52 from ckormanyos/update_ci
Browse files Browse the repository at this point in the history
Update ci
  • Loading branch information
ckormanyos authored Jul 8, 2024
2 parents 735358e + 8ab4ac4 commit c5ca233
Show file tree
Hide file tree
Showing 7 changed files with 25 additions and 6 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/ti84-ref_app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,22 @@ jobs:
make TYP_OS=UNIX all
echo 'build-and-verify-refapp partial verify result'
ls -la ../bin/refapp.8xp
gcc-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 TYP_OS=UNIX all
echo 'build-and-verify-refapp partial verify result'
ls -la ../bin/refapp.8xp
2 changes: 1 addition & 1 deletion bin/refapp.asm
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
;--------------------------------------------------------
; File Created by SDCC : free open source ISO C Compiler
; Version 4.4.0 #14620 (MINGW32)
; Version 4.4.0 #14620 (MINGW64)
;--------------------------------------------------------
.module app_main
.optsdcc -mz80
Expand Down
2 changes: 1 addition & 1 deletion bin/refapp.lk
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
-i C:/Users/ckorm/Documents/Ks/uC_Software/Boards/ti84-ref_app/build/../bin/refapp.ihx
-b _CODE = 0x9d9b
-b _DATA = 0x0000
-k C:\Program Files (x86)\SDCC\bin\..\lib\z80
-k C:\Program Files\SDCC\bin\..\lib\z80
-l z80
C:/Users/ckorm/Documents/Ks/uC_Software/Boards/ti84-ref_app/build/../bin/refapp.rel
C:/Users/ckorm/Documents/Ks/uC_Software/Boards/ti84-ref_app/build/obj/app_hello.rel
Expand Down
2 changes: 1 addition & 1 deletion bin/refapp.lst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
1 ;--------------------------------------------------------
2 ; File Created by SDCC : free open source ISO C Compiler
3 ; Version 4.4.0 #14620 (MINGW32)
3 ; Version 4.4.0 #14620 (MINGW64)
4 ;--------------------------------------------------------
5 .module app_main
6 .optsdcc -mz80
Expand Down
2 changes: 1 addition & 1 deletion build/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ CP := $(TOOL_PREFIX)cp$(EXEEXT)
ECHO := $(TOOL_PREFIX)echo$(EXEEXT)
MKDIR := $(TOOL_PREFIX)mkdir$(EXEEXT)
MV := $(TOOL_PREFIX)mv$(EXEEXT)
OBJCOPY := $(TOOL_PREFIX)objcopy$(EXEEXT)
OBJCOPY := sdobjcopy$(EXEEXT)
PYTHON := python$(EXEEXT)
RM := $(TOOL_PREFIX)rm$(EXEEXT)

Expand Down
Binary file removed build/tools/UnxUtils/usr/local/wbin/objcopy.exe
Binary file not shown.
4 changes: 2 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,8 @@ make TYP_OS=UNIX all
Testing has been performed on the target system, which is a fully-functioning
TI-84 Plus calculator purchased years ago from a commercial retailer.

Continuous integration is performed on GHA using an ubuntu-latest runner.
Continuous integration is performed on GHA using a ubuntu-latest
and macos-latest runners.
The [workflow run](./.github/workflows/ti84-ref_app.yml)
builds the application and verifies the presence of `bin/refapp.8xp`.

Expand Down Expand Up @@ -166,5 +167,4 @@ from this.

- The source code written for this repo (in the [`src`](./src)) directory is licensed under [_The_ _Unlicense_](./LICENSE).
- `Win*`-ported `*nix` tools in [`wbin`](./build/tools/UnxUtils/usr/local/wbin) originate from [UnxTools](https://sourceforge.net/projects/unxutils) and include their own [distribution statements](./build/tools/UnxUtils).
- The `Win*`-ported `objcopy.exe` originates from Steven T. Lavavej's [`MinGW Distro`](https://nuwen.net/mingw.html).
- The `Win*`-ported GNUmake is taken from [`ckormanyos/make-4.2.1-msvc-build`](https://github.com/ckormanyos/make-4.2.1-msvc-build).

0 comments on commit c5ca233

Please sign in to comment.