Skip to content

Commit 72ebc30

Browse files
committed
automatic template update of Serial Peripheral Interface (SPI) Analyzer
1 parent 5cdcb68 commit 72ebc30

2 files changed

Lines changed: 20 additions & 5 deletions

File tree

.github/workflows/build.yml

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,20 @@ jobs:
2828
- uses: actions/checkout@v2
2929
- name: Build
3030
run: |
31-
cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=Release
32-
cmake --build ${{github.workspace}}/build
33-
- name: Upload MacOS build
31+
cmake -B ${{github.workspace}}/build/x86_64 -DCMAKE_BUILD_TYPE=Release -DCMAKE_OSX_ARCHITECTURES=x86_64
32+
cmake --build ${{github.workspace}}/build/x86_64
33+
cmake -B ${{github.workspace}}/build/arm64 -DCMAKE_BUILD_TYPE=Release -DCMAKE_OSX_ARCHITECTURES=arm64
34+
cmake --build ${{github.workspace}}/build/arm64
35+
- name: Upload MacOS x86_64 build
3436
uses: actions/upload-artifact@v2
3537
with:
36-
name: macos
37-
path: ${{github.workspace}}/build/Analyzers/*.so
38+
name: macos_x86_64
39+
path: ${{github.workspace}}/build/x86_64/Analyzers/*.so
40+
- name: Upload MacOS arm64 build
41+
uses: actions/upload-artifact@v2
42+
with:
43+
name: macos_arm64
44+
path: ${{github.workspace}}/build/arm64/Analyzers/*.so
3845
linux:
3946
runs-on: ubuntu-latest
4047
steps:

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ Dependencies:
1414

1515
- XCode with command line tools
1616
- CMake 3.13+
17+
- git
1718

1819
Installing command line tools after XCode is installed:
1920

@@ -50,6 +51,7 @@ Dependencies:
5051

5152
- CMake 3.13+
5253
- gcc 4.8+
54+
- git
5355

5456
Misc dependencies:
5557

@@ -72,6 +74,7 @@ Dependencies:
7274

7375
- Visual Studio 2019
7476
- CMake 3.13+
77+
- git
7578

7679
**Visual Studio 2019**
7780

@@ -88,6 +91,11 @@ Note - if CMake has any problems with the MSVC compiler, it's likely a component
8891
Download and install the latest CMake release here.
8992
https://cmake.org/download/
9093

94+
**git**
95+
96+
Download and install git here.
97+
https://git-scm.com/
98+
9199
Building the analyzer:
92100

93101
```

0 commit comments

Comments
 (0)