Skip to content

Commit

Permalink
apps: github action workflow downloads clang-tool-chain tar and insta…
Browse files Browse the repository at this point in the history
…lls compiler
  • Loading branch information
dinoboards committed Oct 31, 2024
1 parent 8f15f18 commit 504d96a
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 49 deletions.
47 changes: 0 additions & 47 deletions .github/workflows/clang-tool-chain.yml

This file was deleted.

18 changes: 17 additions & 1 deletion .github/workflows/ez80-for-rc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -136,9 +136,25 @@ jobs:
run: |
docker pull z88dk/z88dk
- name: install ez80-clang
run: |
wget --progress=dot:giga https://github.com/dinoboards/ez80-clang/releases/download/v0.0.5/ez80-clang-0.0.5.tar.gz
tar -xzvf ez80-clang-0.0.5.tar.gz
cd ez80-clang-0.0.5
sudo ./install.sh
source /home/runner/.ez80-clang
- name: build apps
working-directory: apps
run: make
run: |
source /home/runner/.ez80-clang
env
which ez80-clang
ls -larts /opt/ez80-clang/bin
ez80-clang --version
/opt/ez80-clang/bin/ez80-clang --version
/opt/ez80-clang/bin/clang-15 --version
make
- name: Archive apps
uses: actions/upload-artifact@v4
Expand Down
2 changes: 1 addition & 1 deletion apps/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ BIN=./bin/
MAKEFLAGS += --no-print-directory

# Define the binaries
BINARIES := MATRIX8 I2CSCAN DHRY WHET FWUPDATE FWMAIN FWSTATUS EZ80 HELLO-WORLD-Z80 HELLO-WORLD-ADL MBROT
BINARIES := EZ80 HELLO-WORLD-Z80 HELLO-WORLD-ADL MBROT MATRIX8 I2CSCAN DHRY WHET FWUPDATE FWMAIN FWSTATUS

# Default target
all: $(BINARIES:%=$(BIN)%.COM)
Expand Down

0 comments on commit 504d96a

Please sign in to comment.