Skip to content

Commit 3e643b9

Browse files
committed
maintenance: upload simulator artifact in CI.
This way we can iteratively use new versions of the simulator without the need for a new release. We remove the old step that just built the simulator, but did nothing with it, and include the simulator in the process that builds and uploads artifact for several targets.
1 parent 6a22b6a commit 3e643b9

File tree

1 file changed

+2
-17
lines changed

1 file changed

+2
-17
lines changed

.github/workflows/ci-common.yml

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -109,23 +109,6 @@ jobs:
109109
- name: run ATECC608 unit tests
110110
run: (cd tools/atecc608; go test ./...)
111111

112-
simulator:
113-
runs-on: ubuntu-22.04
114-
container: ${{ inputs.container-repo }}:${{ inputs.container-version }}
115-
steps:
116-
- name: Clone the repo
117-
uses: actions/checkout@v4
118-
with:
119-
fetch-depth: 0
120-
fetch-tags: true
121-
submodules: recursive
122-
123-
- name: Mark directory as safe
124-
run: git config --global --add safe.directory $GITHUB_WORKSPACE
125-
126-
- name: Build simulator
127-
run: make -j$(($(nproc) + 1)) simulator
128-
129112
leakcheck:
130113
runs-on: ubuntu-22.04
131114
container: ${{ inputs.container-repo }}:${{ inputs.container-version }}
@@ -183,6 +166,7 @@ jobs:
183166
- firmware-btc
184167
- factory-setup
185168
- firmware-debug
169+
- simulator
186170
runs-on: ubuntu-22.04
187171
container:
188172
image: ${{ inputs.container-repo }}:${{ inputs.container-version }}
@@ -221,6 +205,7 @@ jobs:
221205
build*/bin/*.bin
222206
build*/bin/*.elf
223207
build*/bin/*.map
208+
build*/bin/simulator
224209
225210
doc:
226211
runs-on: ubuntu-22.04

0 commit comments

Comments
 (0)