Skip to content

Commit

Permalink
.github/workflows: ci: group extra pkgs installation step
Browse files Browse the repository at this point in the history
Signed-off-by: Paolo Pisati <p.pisati@gmail.com>
  • Loading branch information
piso77 committed Nov 9, 2021
1 parent a14a596 commit ed9f8c7
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,20 +25,20 @@ jobs:
- uses: actions/checkout@v2
- name: install build deps
run: |
sudo add-apt-repository -n -y ppa:p-pisati/fuzix
sudo apt-get update -q
case ${{ matrix.target }} in
dragon-nx32|multicomp09)
sudo apt-get install -y lwtools gcc6809
sudo add-apt-repository -n -y ppa:p-pisati/fuzix
PKGS="lwtools gcc6809"
;;
esp8266)
sudo apt-get install -y gcc-xtensa-lx106 esptool
PKGS="gcc-xtensa-lx106 esptool"
;;
rc2014-6502)
sudo apt-get install -y cc65
PKGS="cc65"
;;
esac
sudo apt-get install -y byacc automake
sudo apt-get update -q
sudo apt-get install -y byacc automake ${PKGS}
sudo update-alternatives --set yacc /usr/bin/byacc
- name: make
run: make TARGET=${{ matrix.target }} -j`nproc`
Expand Down

0 comments on commit ed9f8c7

Please sign in to comment.