diff --git a/.github/workflows/makefile-develop.yml b/.github/workflows/makefile-develop.yml new file mode 100644 index 0000000..85a0798 --- /dev/null +++ b/.github/workflows/makefile-develop.yml @@ -0,0 +1,16 @@ +name: Develop + +on: + push: + branches: [ "develop" ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + + - name: Make All + run: make all \ No newline at end of file diff --git a/.github/workflows/makefile-main.yml b/.github/workflows/makefile-main.yml new file mode 100644 index 0000000..c3d3499 --- /dev/null +++ b/.github/workflows/makefile-main.yml @@ -0,0 +1,16 @@ +name: Main + +on: + push: + branches: [ "main" ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + + - name: Make All + run: make all \ No newline at end of file diff --git a/README.md b/README.md index 9fdde5e..59108a6 100644 --- a/README.md +++ b/README.md @@ -1,41 +1,22 @@ -### ez80op +## ez80op This program gives information on eZ80 opcodes. -#### Building +## Build Status -Perform the following commands to compile the project: +![main](https://github.com/andymccall/ez80op/actions/workflows/makefile-main.yml/badge.svg?branch=main) ![develop](https://github.com/andymccall/ez80op/actions/workflows/makefile-develop.yml/badge.svg?branch=develop) -``` +## Building -username@host:~$ cd agon-development/ez80op/c -username@host:~$ make -[compiling] src/main.c -[lto opt] obj/lto.bc -[linking] bin/ez80op.bin -``` - -#### Running the program - -The newly built program can be run within the Fab Emulator using the following commands: +Perform the following commands to compile the project: ``` -username@host:~$ make run +username@host:~$ cd ez80op/ +username@host:~$ make ``` -This will launch the Fab emulator. Once the emulator has started check the binary is accessible to the emulator by using the dir command: - -``` -/ *dir -Volume: hostfs -Directory: / +## Found this useful? -ez80op.bin ez80op.map -``` +[![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/andymccall) -Then run the binary using by loading it and issuing the run command: - -``` -/ * load ez80op.bin -/ * run -``` +I don't write code, documents or software for profit, I do it for enjoyment and to help others. If you get anything useful from this guide, and only if you can afford it, please let me know by buying me a coffee using my Ko-fi tip page [here](https://ko-fi.com/andymccall). \ No newline at end of file