Skip to content

Commit a92b8ee

Browse files
committed
Fix CI
1 parent 2e78959 commit a92b8ee

2 files changed

Lines changed: 11 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,15 @@ jobs:
1818
sudo apt-get update
1919
sudo apt-get install -y gcc python3 python3-pip valgrind
2020
pip install py65
21+
22+
- name: Set up Haskell and Cabal
23+
uses: haskell-actions/setup@v2
24+
with:
25+
ghc-version: 'latest'
26+
cabal-version: 'latest'
27+
28+
- name: Update Cabal cache
29+
run: cabal update
2130

2231
- name: Install Rust
2332
uses: dtolnay/rust-toolchain@stable

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
BIN_DIR = bin
44

5-
all: c02-frontend c02-as c02-objdump $(BIN_DIR)/c02c
5+
all: $(BIN_DIR)/c02c c02-frontend c02-as c02-objdump
66

77
# Install the driver script alongside the binaries it invokes.
88
$(BIN_DIR)/c02c: c02c | $(BIN_DIR)
@@ -12,7 +12,7 @@ $(BIN_DIR)/c02c: c02c | $(BIN_DIR)
1212
$(BIN_DIR):
1313
mkdir -p $@
1414

15-
c02-frontend: c02-frontend
15+
c02-frontend: c02-frontend/
1616
@printf '==> c02-frontend\n'
1717
@$(MAKE) -C c02-frontend
1818

0 commit comments

Comments
 (0)