Skip to content

Commit

Permalink
run ci test on macos m1 chip runner
Browse files Browse the repository at this point in the history
  • Loading branch information
yc-kanyun committed Mar 20, 2024
1 parent 6e76b67 commit e3afbd3
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 10 deletions.
25 changes: 22 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
push:
pull_request:
schedule:
- cron: '0 0 * * 3'
- cron: "0 0 * * 3"

jobs:
Linux:
Expand All @@ -30,7 +30,6 @@ jobs:
- name: Build emulator (sdl2, 64bits)
run: platformio run -e emulator_64bits


#Linux_i386:
# runs-on: ubuntu-latest
# steps:
Expand All @@ -52,7 +51,6 @@ jobs:
# - name: Build emulator (sdl2, 32bits)
# run: platformio run -e emulator_32bits


macOS:
runs-on: macos-latest
steps:
Expand All @@ -75,6 +73,27 @@ jobs:
- name: Build emulator (sdl2, 64bits)
run: platformio run -e emulator_64bits

macOS-m1:
runs-on: macos-14
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 emulator (sdl2, 64bits)
run: platformio run -e emulator_64bits

Windows:
runs-on: windows-2019
Expand Down
17 changes: 10 additions & 7 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
{
// See http://go.microsoft.com/fwlink/?LinkId=827846
// for the documentation about the extensions.json format
"recommendations": [
"platformio.platformio-ide"
]
}
{
// See http://go.microsoft.com/fwlink/?LinkId=827846
// for the documentation about the extensions.json format
"recommendations": [
"platformio.platformio-ide"
],
"unwantedRecommendations": [
"ms-vscode.cpptools-extension-pack"
]
}

0 comments on commit e3afbd3

Please sign in to comment.