Skip to content

Commit 2bd0d82

Browse files
committed
removes using chocolatey
1 parent 29abcf1 commit 2bd0d82

File tree

3 files changed

+25
-17
lines changed

3 files changed

+25
-17
lines changed

.github/workflows/macOS.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ jobs:
1212
- uses: actions/checkout@v4
1313
- uses: ammaraskar/gcc-problem-matcher@master
1414

15-
- name: Install Dependencies
16-
run: |
17-
brew install --force gcc libffi cmake ninja make
18-
brew install --force --cask gcc-arm-embedded
15+
- name: Install arm-none-eabi-gcc
16+
uses: carlosperate/[email protected]
17+
with:
18+
release: '9-2019-q4' # The arm-none-eabi-gcc release to use.
1919

20-
- name: Build macOS port
21-
run: python3 make.py unix submodules clean mpy_cross DISPLAY=sdl_display INDEV=sdl_pointer
20+
- name: Install Dependencies
21+
run: brew install --force gcc libffi cmake ninja make
2222

2323
- name: Build ESP32 port
2424
run: python3 make.py esp32 submodules clean mpy_cross BOARD=ESP32_GENERIC_S3 BOARD_VARIANT=SPIRAM_OCT DISPLAY=rgb_display INDEV=gt911
@@ -28,3 +28,6 @@ jobs:
2828

2929
- name: Build Raspberry Pi PICO port
3030
run: python3 make.py rp2 submodules clean mpy_cross BOARD=RPI_PICO DISPLAY=rgb_display INDEV=gt911
31+
32+
- name: Build macOS port
33+
run: python3 make.py unix submodules clean mpy_cross DISPLAY=sdl_display INDEV=sdl_pointer

.github/workflows/unix.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ jobs:
1212
steps:
1313
- uses: actions/checkout@v4
1414
- uses: ammaraskar/gcc-problem-matcher@master
15-
15+
- name: Install arm-none-eabi-gcc
16+
uses: carlosperate/[email protected]
17+
with:
18+
release: '9-2019-q4' # The arm-none-eabi-gcc release to use.
1619
- name: Install Deps
17-
run: sudo apt-get install --force-yes -y build-essential pkg-config cmake ninja-build libffi-dev gnome-desktop-testing libasound2-dev libpulse-dev libaudio-dev libjack-dev libsndio-dev libx11-dev libxext-dev libxrandr-dev libxcursor-dev libxfixes-dev libxi-dev libxss-dev libxkbcommon-dev libdrm-dev libgbm-dev libgl1-mesa-dev libgles2-mesa-dev libegl1-mesa-dev libdbus-1-dev libibus-1.0-dev libudev-dev fcitx-libs-dev libpipewire-0.3-dev libwayland-dev libdecor-0-dev gcc-arm-none-eabi
18-
19-
- name: Build Unix port
20-
run: python3 make.py unix submodules clean mpy_cross DISPLAY=sdl_display INDEV=sdl_pointer
20+
run: sudo apt-get install --force-yes -y build-essential pkg-config cmake ninja-build libffi-dev gnome-desktop-testing libasound2-dev libpulse-dev libaudio-dev libjack-dev libsndio-dev libx11-dev libxext-dev libxrandr-dev libxcursor-dev libxfixes-dev libxi-dev libxss-dev libxkbcommon-dev libdrm-dev libgbm-dev libgl1-mesa-dev libgles2-mesa-dev libegl1-mesa-dev libdbus-1-dev libibus-1.0-dev libudev-dev fcitx-libs-dev libpipewire-0.3-dev libwayland-dev libdecor-0-dev
2121

2222
- name: Build ESP32 port
2323
run: python3 make.py esp32 submodules clean mpy_cross BOARD=ESP32_GENERIC_S3 BOARD_VARIANT=SPIRAM_OCT DISPLAY=rgb_display INDEV=gt911
@@ -28,6 +28,9 @@ jobs:
2828
- name: Build Raspberry Pi PICO port
2929
run: python3 make.py rp2 submodules clean mpy_cross BOARD=RPI_PICO DISPLAY=rgb_display INDEV=gt911
3030

31+
- name: Build Unix port
32+
run: python3 make.py unix submodules clean mpy_cross DISPLAY=sdl_display INDEV=sdl_pointer
33+
3134

3235

3336

.github/workflows/windows.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,15 @@ jobs:
1111

1212
steps:
1313
- uses: actions/checkout@v4
14-
14+
- name: Install arm-none-eabi-gcc
15+
uses: carlosperate/[email protected]
16+
with:
17+
release: '9-2019-q4' # The arm-none-eabi-gcc release to use.
1518
- name: Install Dependencies
1619
run: |
17-
choco install make
18-
choco install gcc-arm-embedded
20+
winget install ezwinports.make
1921
python3 -m pip install pyMSVC
2022
21-
- name: Build Windows port
22-
run: python3 make.py windows submodules clean mpy_cross DISPLAY=sdl_display INDEV=sdl_pointer
23-
2423
- name: Build ESP32 port
2524
run: python3 make.py esp32 submodules clean mpy_cross BOARD=ESP32_GENERIC_S3 BOARD_VARIANT=SPIRAM_OCT DISPLAY=rgb_display INDEV=gt911
2625

@@ -30,4 +29,7 @@ jobs:
3029
- name: Build Raspberry Pi PICO port
3130
run: python3 make.py rp2 submodules clean mpy_cross BOARD=RPI_PICO DISPLAY=rgb_display INDEV=gt911
3231

32+
- name: Build Windows port
33+
run: python3 make.py windows submodules clean mpy_cross DISPLAY=sdl_display INDEV=sdl_pointer
34+
3335

0 commit comments

Comments
 (0)