forked from lvgl/lv_platformio
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CI: switch from travis o github actions
- Loading branch information
Vitaly Puzrin
committed
Jul 9, 2020
1 parent
4c8c133
commit 6452f68
Showing
2 changed files
with
82 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
name: CI | ||
|
||
on: | ||
push: | ||
pull_request: | ||
schedule: | ||
- cron: '0 0 * * 3' | ||
|
||
jobs: | ||
Linux: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Install Linux dependencies | ||
run: | | ||
sudo dpkg --add-architecture i386 | ||
sudo apt-get update | ||
sudo apt-get install libsdl2-dev:i386 gcc-multilib g++-multilib | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-python@v1 | ||
|
||
- name: Install PlatformIO | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install -U platformio | ||
platformio update | ||
- name: Build bare metal (stm32f429_disco) | ||
run: platformio run -e stm32f429_disco | ||
|
||
- name: Build native (sdl2) | ||
run: platformio run -e native | ||
|
||
macOS: | ||
runs-on: macos-latest | ||
steps: | ||
- name: Install macOS dependencies | ||
run: | | ||
HOMEBREW_NO_AUTO_UPDATE=1 brew install sdl2 | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-python@v1 | ||
|
||
- name: Install PlatformIO | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install -U platformio | ||
platformio update | ||
- name: Build bare metal (stm32f429_disco) | ||
run: platformio run -e stm32f429_disco | ||
|
||
- name: Build native (sdl2) | ||
run: platformio run -e native | ||
|
||
Windows: | ||
runs-on: windows-latest | ||
steps: | ||
- name: Activate msys2 & mingw64 | ||
run: | | ||
echo "::add-path::C:/msys64/usr/bin" | ||
echo "::add-path::C:/msys64/mingw64/bin" | ||
- name: Install deps | ||
run: | | ||
pacman --noconfirm -S --needed mingw-w64-x86_64-SDL2 | ||
gcc --version | ||
- uses: actions/checkout@v2 | ||
#- uses: actions/setup-python@v1 | ||
|
||
- name: Install PlatformIO | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install -U platformio | ||
platformio update | ||
- name: Build bare metal (stm32f429_disco) | ||
run: platformio run -e stm32f429_disco | ||
|
||
- name: Build native (sdl2) | ||
run: platformio run -e native |
This file was deleted.
Oops, something went wrong.