wokwi config #7
Workflow file for this run
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
name: Wokwi-CI Build | |
on: [push] | |
jobs: | |
build: | |
strategy: | |
fail-fast: false | |
matrix: | |
runs-on: [ubuntu-latest] | |
target: [esp32, esp32s2, esp32s3] | |
runs-on: ${{ matrix.runs-on }} | |
container: | |
image: jmeeuws/esp-dlang | |
steps: | |
- uses: actions/checkout@v4 | |
- name: update image | |
run: | | |
apt-get update && \ | |
apt-get -y install \ | |
cmake ninja-build | |
- name: build D basic-example | |
run: | | |
cd examples/idf-project | |
bash build.sh | |
- name: Copy wokwi-diagram ${{ matrix.target }} | |
run: | | |
cp .github/workflows/wokwi/diagram-${{ matrix.target }}.json diagram.json | |
- uses: wokwi/wokwi-ci-action@v1 | |
with: | |
token: ${{ secrets.WOKWI_CLI_TOKEN }} | |
timeout: 5000 | |
expect_text: 'Hello, dlang says: i = 0' |