Rename to ModbusSim #35
Workflow file for this run
This file contains hidden or 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: Build | |
| # Triggered when code is pushed to any branch in a repository | |
| on: push | |
| jobs: | |
| linux: | |
| runs-on: ubuntu-latest | |
| container: | |
| image: docker://jgeudens/qt-linux:6.8.3_build_1 | |
| steps: | |
| - uses: actions/checkout@v6.0.0 | |
| - name: Configure safe directory for git | |
| run: git config --global --add safe.directory ${GITHUB_WORKSPACE} | |
| - name: Update Modules and Build | |
| run: bash scripts/build_linux.sh | |
| - name: Deploy | |
| run: bash scripts/deploy_linux.sh | |
| - uses: actions/upload-artifact@v6.0.0 | |
| with: | |
| name: modbussim-linux | |
| path: ModbusSim*.AppImage | |
| windows: | |
| runs-on: windows-2022 | |
| steps: | |
| - uses: actions/checkout@v6.0.0 | |
| - name: Install Qt installer | |
| run: pip3 install aqtinstall==3.3.0 | |
| # Cache go build cache, used to speedup go test | |
| - name: Qt Build Cache | |
| uses: actions/cache@v5.0.0 | |
| id: cache | |
| with: | |
| path: ${{ github.workspace }}\Qt | |
| key: ${{ runner.os }}-qt-build-${{ hashFiles('scripts\setup_windows.bat') }} | |
| - name: Setup, build and deploy | |
| shell: cmd | |
| run: scripts\full_build_and_deploy_windows.bat '${{ steps.cache.outputs.cache-hit }}' ${{ github.workspace }}\Qt | |
| - uses: actions/upload-artifact@v6.0.0 | |
| with: | |
| name: modbusscope-windows | |
| path: | | |
| ModbusSim.zip |